Skip to content

Commit

Permalink
Merge pull request #1923 from o1-labs/dw/comment-either-type
Browse files Browse the repository at this point in the history
Kimchi/Expr: comment Either type
  • Loading branch information
dannywillems authored Mar 7, 2024
2 parents 4364d48 + 7a32c55 commit 01b432b
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 01b432b

Please sign in to comment.