Skip to content

Commit

Permalink
Fix GCC error.
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Jul 17, 2023
1 parent 0fe1567 commit 3d70094
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ bigfield<C, T>::bigfield(const field_t<C>& low_bits_in,
mid_index = static_cast<size_t>((NUM_LIMB_BITS / 2) - 1);
// Turbo plonk range constraint returns an array of partial sums, midpoint will happen to hold the big limb
// value
limb_1.witness_index = low_accumulator[mid_index];
if constexpr (!IsSimulator<C>) {
limb_1.witness_index = low_accumulator[mid_index];
}
// We can get the first half bits of low_bits_in from the variables we already created
limb_0 = (low_bits_in - (limb_1 * shift_1));
}
Expand Down

0 comments on commit 3d70094

Please sign in to comment.