Skip to content

Commit

Permalink
Kimchi/Expr: comment Either type
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Mar 7, 2024
1 parent bda7ae5 commit 7a32c55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kimchi/src/circuits/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,9 @@ impl<F: FftField, Column: PartialEq + Copy + GenericColumn> Expr<ConstantExpr<F>
}
}

/// Use as a result of the expression evaluations routine.
/// For now, the left branch is the result of an evaluation and the right branch
/// is the ID of an element in the cache
enum Either<A, B> {
Left(A),
Right(B),
Expand Down

0 comments on commit 7a32c55

Please sign in to comment.