Skip to content

Commit

Permalink
Merge branch 'add-little-endian-functions-to-ToBits-gadget' into intr…
Browse files Browse the repository at this point in the history
…oduce-UInt-gadget
  • Loading branch information
nicholas-mainardi committed May 9, 2022
2 parents 8ea676b + dc3619e commit 81811bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions r1cs/gadgets/std/src/bits/boolean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,11 +1102,11 @@ impl<ConstraintF: Field> CondSelectGadget<ConstraintF> for Boolean {
}
}

#[cfg(all(test, feature = "bls12_381"))]
#[cfg(all(test, feature = "bls12_377"))]
mod test {
use super::{AllocatedBit, Boolean};
use crate::prelude::*;
use algebra::{fields::bls12_381::Fr, BitIterator, Field, PrimeField, ToBits, UniformRand};
use algebra::{fields::bls12_377::Fr, BitIterator, Field, PrimeField, ToBits, UniformRand};
use r1cs_core::{
ConstraintSystem, ConstraintSystemAbstract, ConstraintSystemDebugger, SynthesisMode,
};
Expand Down
2 changes: 1 addition & 1 deletion r1cs/gadgets/std/src/fields/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl<ConstraintF: PrimeField> ComparisonGadget<ConstraintF> for FpGadget<Constra
}
}

#[cfg(test)]
#[cfg(all(test, feature = "tweedle"))]
mod test {
use std::cmp::Ordering;
use rand::{Rng, thread_rng};
Expand Down

0 comments on commit 81811bc

Please sign in to comment.