Skip to content

Commit

Permalink
Increase array size for dot_product_par test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaewoo Kim committed Sep 23, 2024
1 parent 06d88bf commit 8bfbd8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assignments/assignment13/small_exercises_grade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ mod test {
assert_eq!(res_par, 55.0);

for _ in 0..5 {
let vec1 = Array::random(1_000_000, Uniform::new(0., 10.));
let vec2 = Array::random(1_000_000, Uniform::new(0., 10.));
let vec1 = Array::random(10_000_000, Uniform::new(0., 10.));
let vec2 = Array::random(10_000_000, Uniform::new(0., 10.));

let now_seq = Instant::now();
let res_seq = hint::black_box(dot_product(
Expand Down

0 comments on commit 8bfbd8f

Please sign in to comment.