Skip to content

Commit

Permalink
Adjust test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Sep 30, 2024
1 parent 2f9162b commit 7c047d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ego/src/egor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,8 @@ mod tests {
let filepath = std::path::Path::new(&outdir).join(DOE_FILE);
assert!(filepath.exists());
let doe: Array2<f64> = read_npy(&filepath).expect("file read");
assert!(doe.nrows() > max_iters);
assert!(doe.nrows() <= init_doe.nrows() + max_iters);
assert!(doe.nrows() >= init_doe.nrows());

println!("Rosenbrock optim result = {res:?}");
println!("Elapsed = {:?}", now.elapsed());
Expand Down

0 comments on commit 7c047d5

Please sign in to comment.