Skip to content

Commit

Permalink
Fix rebase failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-mainardi committed May 4, 2022
1 parent 538d32a commit ce8ee6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions r1cs/gadgets/std/src/bits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub trait ToBitsGadget<ConstraintF: Field> {
) -> Result<Vec<Boolean>, SynthesisError>;

/// Outputs the little-endian bit representation of `Self`
fn to_bits_le<CS: ConstraintSystemAbstract<ConstraintF>>(
fn to_bits_le<CS: ConstraintSystem<ConstraintF>>(
&self,
cs: CS,
) -> Result<Vec<Boolean>, SynthesisError> {
Expand All @@ -31,7 +31,7 @@ pub trait ToBitsGadget<ConstraintF: Field> {

/// Converts `Self` to little-endian bit representation, checking if the bit representation is
/// 'valid'
fn to_bits_strict_le<CS: ConstraintSystemAbstract<ConstraintF>>(
fn to_bits_strict_le<CS: ConstraintSystem<ConstraintF>>(
&self,
cs: CS,
) -> Result<Vec<Boolean>, SynthesisError> {
Expand All @@ -54,7 +54,7 @@ where

/// Reconstruct a `Self` from its *little endian* bit representation `bits` of bit len not
/// higher than CAPACITY (i.e. MODULUS - 1)
fn from_bits_le<CS: ConstraintSystemAbstract<ConstraintF>>(
fn from_bits_le<CS: ConstraintSystem<ConstraintF>>(
cs: CS,
bits: &[Boolean],
) -> Result<Self, SynthesisError> {
Expand Down

0 comments on commit ce8ee6d

Please sign in to comment.