num_traits:: -> algebra::

This commit is contained in:
Pratyush Mishra
2020-01-18 18:06:46 -08:00
parent 722a901ae7
commit 40cf13b7b8
10 changed files with 10 additions and 10 deletions

View File

@@ -837,7 +837,7 @@ mod test {
use super::{AllocatedBit, Boolean};
use crate::{prelude::*, test_constraint_system::TestConstraintSystem};
use algebra::{fields::bls12_381::Fr, BitIterator, Field, PrimeField, UniformRand};
use num_traits::{One, Zero};
use algebra::{One, Zero};
use r1cs_core::ConstraintSystem;
use rand::SeedableRng;
use rand_xorshift::XorShiftRng;

View File

@@ -345,7 +345,7 @@ mod test {
use super::UInt32;
use crate::{bits::boolean::Boolean, test_constraint_system::TestConstraintSystem};
use algebra::fields::bls12_381::Fr;
use num_traits::{One, Zero};
use algebra::{One, Zero};
use r1cs_core::ConstraintSystem;
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;