Skip to content

Commit

Permalink
extra-tests: Reduce matrix sizes in test
Browse files Browse the repository at this point in the history
These tests are far too slow, and we need to reduce the size.
  • Loading branch information
bluss committed Aug 1, 2024
1 parent 8a4d3a0 commit f4e424a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extra-tests/numeric/tests/accuracy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ fn random_matrix_mul<A>(
) -> (Array2<A>, Array2<A>)
where A: LinalgScalar
{
let m = rng.gen_range(15..512);
let k = rng.gen_range(15..512);
let n = rng.gen_range(15..1560);
let m = rng.gen_range(15..128);
let k = rng.gen_range(15..128);
let n = rng.gen_range(15..512);
let a = generator(Ix2(m, k), rng);
let b = generator(Ix2(n, k), rng);
let c = if use_general {
Expand Down Expand Up @@ -261,7 +261,7 @@ fn accurate_mul_with_column_f64()
// pick a few random sizes
let rng = &mut SmallRng::from_entropy();
for i in 0..10 {
let m = rng.gen_range(1..350);
let m = rng.gen_range(1..128);
let k = rng.gen_range(1..350);
let a = gen::<f64, _>(Ix2(m, k), rng);
let b_owner = gen::<f64, _>(Ix2(k, k), rng);
Expand Down

0 comments on commit f4e424a

Please sign in to comment.