Skip to content

Commit

Permalink
anemoi: removed debug comments from protoboard.tcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vesselin Velichkov committed Oct 10, 2022
1 parent 4dfe183 commit 4dddfa1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libsnark/gadgetlib1/protoboard.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,9 @@ FieldT protoboard<FieldT>::val(const pb_variable<FieldT> &var) const
template<typename FieldT>
FieldT &protoboard<FieldT>::lc_val(const pb_linear_combination<FieldT> &lc)
{
printf("[%s:%d] CHECKPOINT 1\n", __FILE__, __LINE__);
// assert(lc.is_variable == false);
if (lc.is_variable == true) {
printf("[%s:%d] CHECKPOINT 2\n", __FILE__, __LINE__);
return this->val(pb_variable<FieldT>(lc.index));
} else {
printf("[%s:%d] CHECKPOINT 3\n", __FILE__, __LINE__);
assert(lc.index < lc_values.size());
return lc_values[lc.index];
}
Expand Down

0 comments on commit 4dddfa1

Please sign in to comment.