|
@ -91,7 +91,7 @@ impl GroupGadget, ConstraintF> |
|
|
for AffineGadget<P, ConstraintF, F>
|
|
|
for AffineGadget<P, ConstraintF, F>
|
|
|
where
|
|
|
where
|
|
|
P: SWModelParameters,
|
|
|
P: SWModelParameters,
|
|
|
ConstraintF: Field,
|
|
|
|
|
|
|
|
|
ConstraintF: PrimeField,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
{
|
|
|
{
|
|
|
type Value = SWProjective<P>;
|
|
|
type Value = SWProjective<P>;
|
|
@ -329,7 +329,7 @@ where |
|
|
impl<P, ConstraintF, F> CondSelectGadget<ConstraintF> for AffineGadget<P, ConstraintF, F>
|
|
|
impl<P, ConstraintF, F> CondSelectGadget<ConstraintF> for AffineGadget<P, ConstraintF, F>
|
|
|
where
|
|
|
where
|
|
|
P: SWModelParameters,
|
|
|
P: SWModelParameters,
|
|
|
ConstraintF: Field,
|
|
|
|
|
|
|
|
|
ConstraintF: PrimeField,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
{
|
|
|
{
|
|
|
#[inline]
|
|
|
#[inline]
|
|
@ -424,7 +424,7 @@ impl AllocGadget, ConstraintF> |
|
|
for AffineGadget<P, ConstraintF, F>
|
|
|
for AffineGadget<P, ConstraintF, F>
|
|
|
where
|
|
|
where
|
|
|
P: SWModelParameters,
|
|
|
P: SWModelParameters,
|
|
|
ConstraintF: Field,
|
|
|
|
|
|
|
|
|
ConstraintF: PrimeField,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
F: FieldGadget<P::BaseField, ConstraintF>,
|
|
|
{
|
|
|
{
|
|
|
#[inline]
|
|
|
#[inline]
|
|
|