We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a5468 commit 4a8ede2Copy full SHA for 4a8ede2
libsnark/gadgetlib1/protoboard.tcc
@@ -70,7 +70,7 @@ FieldT protoboard<FieldT>::val(const pb_variable<FieldT> &var) const
70
template<typename FieldT>
71
FieldT &protoboard<FieldT>::lc_val(const pb_linear_combination<FieldT> &lc)
72
{
73
- if (lc.is_variable == true) {
+ if (lc.is_variable) {
74
return this->val(pb_variable<FieldT>(lc.index));
75
} else {
76
assert(lc.index < lc_values.size());
0 commit comments