mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add the possibility to configure the maximal matrix size in the unit tests
This commit is contained in:
@@ -101,13 +101,13 @@ void test_product_syrk()
|
||||
for(int i = 0; i < g_repeat ; i++)
|
||||
{
|
||||
int s;
|
||||
s = internal::random<int>(1,320);
|
||||
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);
|
||||
CALL_SUBTEST_1( syrk(MatrixXf(s, s)) );
|
||||
s = internal::random<int>(1,320);
|
||||
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);
|
||||
CALL_SUBTEST_2( syrk(MatrixXd(s, s)) );
|
||||
s = internal::random<int>(1,200);
|
||||
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2);
|
||||
CALL_SUBTEST_3( syrk(MatrixXcf(s, s)) );
|
||||
s = internal::random<int>(1,200);
|
||||
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2);
|
||||
CALL_SUBTEST_4( syrk(MatrixXcd(s, s)) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user