Browse Source

Fix for add_many (issue #23) (#113)

Co-authored-by: Tom Godden <tgodden@vub.be>
Co-authored-by: mmagician <marcin.gorny.94@protonmail.com>
Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
master
Tom Godden 1 year ago
committed by GitHub
parent
commit
69003c80d4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/bits/uint.rs

+ 1
- 1
src/bits/uint.rs

@ -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());

Loading…
Cancel
Save