Skip to content

Commit

Permalink
anemoi: removed redundant asserts in pb_variable added earlier for de…
Browse files Browse the repository at this point in the history
  • Loading branch information
Vesselin Velichkov committed Oct 31, 2022
1 parent a24975f commit 17a5468
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libsnark/gadgetlib1/pb_variable.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ pb_linear_combination<FieldT>::pb_linear_combination(
protoboard<FieldT> &pb, const linear_combination<FieldT> &lc)
{
assign(pb, lc);
assert(this->is_variable == false);
}

template<typename FieldT>
Expand All @@ -151,7 +150,6 @@ void pb_linear_combination<FieldT>::assign(
assert(this->is_variable == false);
this->index = pb.allocate_lc_index();
this->terms = lc.terms;
assert(this->is_variable == false);
}

template<typename FieldT>
Expand Down

0 comments on commit 17a5468

Please sign in to comment.