mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-09 15:31:34 +01:00
Change test_rng import to ark-std
This commit is contained in:
committed by
Pratyush Mishra
parent
b17b17efcc
commit
530d618cca
@@ -19,7 +19,7 @@
|
||||
//! let cs = ConstraintSystem::<Fq>::new_ref();
|
||||
//! // This rng is just for test purposes; do not use it
|
||||
//! // in real applications.
|
||||
//! let mut rng = ark_ff::test_rng();
|
||||
//! let mut rng = ark_std::test_rng();
|
||||
//!
|
||||
//! // Generate some random `Fq` elements.
|
||||
//! let a_native = Fq::rand(&mut rng);
|
||||
@@ -66,7 +66,7 @@
|
||||
//! # use ark_ed_on_mnt4_298::{*, constraints::*};
|
||||
//!
|
||||
//! # let cs = ConstraintSystem::<Fq>::new_ref();
|
||||
//! # let mut rng = ark_ff::test_rng();
|
||||
//! # let mut rng = ark_std::test_rng();
|
||||
//!
|
||||
//! // Generate some random `Edwards` elements.
|
||||
//! let a_native = EdwardsProjective::rand(&mut rng);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use ark_ec::{AffineCurve, ProjectiveCurve};
|
||||
use ark_ff::test_rng;
|
||||
use ark_std::test_rng;
|
||||
use rand::Rng;
|
||||
|
||||
use crate::*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use ark_ff::test_rng;
|
||||
use ark_std::test_rng;
|
||||
use rand::Rng;
|
||||
|
||||
use crate::fields::*;
|
||||
|
||||
Reference in New Issue
Block a user