@@ -10,9 +10,7 @@ use crate::{
1010} ;
1111use ark_ec:: { CycleEngine , PairingEngine } ;
1212use ark_ff:: { fields:: Field , PrimeField , ToConstraintField } ;
13- use core:: { borrow:: Borrow , convert:: TryInto , marker:: PhantomData , ops:: MulAssign } ;
1413use ark_nonnative_field:: { NonNativeFieldMulResultVar , NonNativeFieldVar } ;
15- use ark_relations:: r1cs:: { ConstraintSystemRef , Namespace , SynthesisError } ;
1614use ark_r1cs_std:: {
1715 alloc:: { AllocVar , AllocationMode } ,
1816 bits:: { boolean:: Boolean , uint8:: UInt8 , ToBitsGadget } ,
@@ -23,6 +21,8 @@ use ark_r1cs_std::{
2321 select:: CondSelectGadget ,
2422 R1CSVar , ToBytesGadget , ToConstraintFieldGadget ,
2523} ;
24+ use ark_relations:: r1cs:: { ConstraintSystemRef , Namespace , SynthesisError } ;
25+ use core:: { borrow:: Borrow , convert:: TryInto , marker:: PhantomData , ops:: MulAssign } ;
2626
2727/// Var for the verification key of the Marlin-KZG10 polynomial commitment scheme.
2828pub struct VerifierKeyVar <
@@ -216,7 +216,8 @@ where
216216
217217 let g = PG :: G1Var :: new_variable ( ark_relations:: ns!( cs, "g" ) , || Ok ( g. clone ( ) ) , mode) ?;
218218 let h = PG :: G2Var :: new_variable ( ark_relations:: ns!( cs, "h" ) , || Ok ( h. clone ( ) ) , mode) ?;
219- let beta_h = PG :: G2Var :: new_variable ( ark_relations:: ns!( cs, "beta_h" ) , || Ok ( beta_h) , mode) ?;
219+ let beta_h =
220+ PG :: G2Var :: new_variable ( ark_relations:: ns!( cs, "beta_h" ) , || Ok ( beta_h) , mode) ?;
220221
221222 Ok ( Self {
222223 g,
0 commit comments