Skip to content

Commit

Permalink
Fix for add_many (issue #23) (#113)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Godden <[email protected]>
Co-authored-by: mmagician <[email protected]>
Co-authored-by: Pratyush Mishra <[email protected]>
  • Loading branch information
4 people authored Jan 20, 2023
1 parent 4ea806f commit 69003c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bits/uint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ macro_rules! make_uint {
assert!($size <= 128);

assert!(operands.len() >= 1);
assert!($size * operands.len() <= F::MODULUS_BIT_SIZE as usize);
assert!($size + ark_std::log2(operands.len()) <= F::MODULUS_BIT_SIZE);

if operands.len() == 1 {
return Ok(operands[0].clone());
Expand Down

0 comments on commit 69003c8

Please sign in to comment.