Skip to content

Commit 4a8ede2

Browse files
author
Vesselin Velichkov
committed
anemoi: removed redundant "== true" in if-statement (#65 (comment)).
1 parent 17a5468 commit 4a8ede2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsnark/gadgetlib1/protoboard.tcc

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ FieldT protoboard<FieldT>::val(const pb_variable<FieldT> &var) const
7070
template<typename FieldT>
7171
FieldT &protoboard<FieldT>::lc_val(const pb_linear_combination<FieldT> &lc)
7272
{
73-
if (lc.is_variable == true) {
73+
if (lc.is_variable) {
7474
return this->val(pb_variable<FieldT>(lc.index));
7575
} else {
7676
assert(lc.index < lc_values.size());

0 commit comments

Comments
 (0)