@@ -205,7 +205,7 @@ pub mod fields {
205205 AllocationMode :: Constant ,
206206 ] ;
207207 for & mode in & modes {
208- let cs = ConstraintSystem :: < ConstraintF > :: new_ref ( ) ;
208+ let cs = ConstraintSystem :: new_ref ( ) ;
209209 let mut rng = test_rng ( ) ;
210210 for i in 0 ..=maxpower {
211211 let mut a = F :: rand ( & mut rng) ;
@@ -246,7 +246,7 @@ pub mod curves {
246246 AllocationMode :: Constant ,
247247 ] ;
248248 for & mode in & modes {
249- let cs = ConstraintSystem :: < ConstraintF > :: new_ref ( ) ;
249+ let cs = ConstraintSystem :: new_ref ( ) ;
250250
251251 let mut rng = test_rng ( ) ;
252252 let a_native = C :: rand ( & mut rng) ;
@@ -539,8 +539,6 @@ pub mod pairing {
539539 use ark_relations:: r1cs:: { ConstraintSystem , SynthesisError } ;
540540 use ark_std:: { test_rng, vec:: * , UniformRand } ;
541541
542- type BasePrimeField < P > = <<P as Pairing >:: BaseField as Field >:: BasePrimeField ;
543-
544542 #[ allow( dead_code) ]
545543 pub fn bilinearity_test < E : Pairing , P : PairingVar < E > > ( ) -> Result < ( ) , SynthesisError >
546544 where
@@ -554,7 +552,7 @@ pub mod pairing {
554552 AllocationMode :: Constant ,
555553 ] ;
556554 for & mode in & modes {
557- let cs = ConstraintSystem :: < BasePrimeField < E > > :: new_ref ( ) ;
555+ let cs = ConstraintSystem :: new_ref ( ) ;
558556
559557 let mut rng = test_rng ( ) ;
560558 let a = E :: G1 :: rand ( & mut rng) ;
0 commit comments