Skip to content

Commit

Permalink
fix: properly initialise Evaluator in test (#863)
Browse files Browse the repository at this point in the history
fix: properly initialise Evaluator in test
  • Loading branch information
TomAFrench authored Feb 17, 2023
1 parent fecd32c commit bbb70bd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/noirc_evaluator/src/ssa/acir_gen/operations/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ mod test {
fn test_permutation() {
let mut rng = rand::thread_rng();
for n in 2..50 {
let mut eval = Evaluator {
current_witness_index: 0,
num_witnesses_abi_len: 0,
param_witnesses: BTreeMap::new(),
opcodes: Vec::new(),
};
let mut eval = Evaluator::new();

//we generate random inputs
let mut input = Vec::new();
Expand Down

0 comments on commit bbb70bd

Please sign in to comment.