mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-02-05 01:56:41 +01:00
Add convenience impls for common types (#137)
* Work * Tweak * Fmt * Work * Format + typo fixes * `no-std` fix
This commit is contained in:
@@ -44,7 +44,7 @@ impl<F: PrimeField> Radix2DomainVar<F> {
|
||||
impl<F: PrimeField> EqGadget<F> for Radix2DomainVar<F> {
|
||||
fn is_eq(&self, other: &Self) -> Result<Boolean<F>, SynthesisError> {
|
||||
if self.gen != other.gen || self.dim != other.dim {
|
||||
Ok(Boolean::constant(false))
|
||||
Ok(Boolean::FALSE)
|
||||
} else {
|
||||
self.offset.is_eq(&other.offset)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user