@@ -205,7 +205,7 @@ pub mod fields {
205
205
AllocationMode :: Constant ,
206
206
] ;
207
207
for & mode in & modes {
208
- let cs = ConstraintSystem :: < ConstraintF > :: new_ref ( ) ;
208
+ let cs = ConstraintSystem :: new_ref ( ) ;
209
209
let mut rng = test_rng ( ) ;
210
210
for i in 0 ..=maxpower {
211
211
let mut a = F :: rand ( & mut rng) ;
@@ -246,7 +246,7 @@ pub mod curves {
246
246
AllocationMode :: Constant ,
247
247
] ;
248
248
for & mode in & modes {
249
- let cs = ConstraintSystem :: < ConstraintF > :: new_ref ( ) ;
249
+ let cs = ConstraintSystem :: new_ref ( ) ;
250
250
251
251
let mut rng = test_rng ( ) ;
252
252
let a_native = C :: rand ( & mut rng) ;
@@ -539,8 +539,6 @@ pub mod pairing {
539
539
use ark_relations:: r1cs:: { ConstraintSystem , SynthesisError } ;
540
540
use ark_std:: { test_rng, vec:: * , UniformRand } ;
541
541
542
- type BasePrimeField < P > = <<P as Pairing >:: BaseField as Field >:: BasePrimeField ;
543
-
544
542
#[ allow( dead_code) ]
545
543
pub fn bilinearity_test < E : Pairing , P : PairingVar < E > > ( ) -> Result < ( ) , SynthesisError >
546
544
where
@@ -554,7 +552,7 @@ pub mod pairing {
554
552
AllocationMode :: Constant ,
555
553
] ;
556
554
for & mode in & modes {
557
- let cs = ConstraintSystem :: < BasePrimeField < E > > :: new_ref ( ) ;
555
+ let cs = ConstraintSystem :: new_ref ( ) ;
558
556
559
557
let mut rng = test_rng ( ) ;
560
558
let a = E :: G1 :: rand ( & mut rng) ;
0 commit comments