mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
makes sure to test small sizes
This commit is contained in:
parent
99e4afd43e
commit
88e7a572fd
@ -114,12 +114,12 @@ void test_product_symm()
|
|||||||
{
|
{
|
||||||
for(int i = 0; i < g_repeat ; i++)
|
for(int i = 0; i < g_repeat ; i++)
|
||||||
{
|
{
|
||||||
CALL_SUBTEST_1(( symm<float,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) ));
|
CALL_SUBTEST_1(( symm<float,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) ));
|
||||||
CALL_SUBTEST_2(( symm<double,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) ));
|
CALL_SUBTEST_2(( symm<double,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) ));
|
||||||
CALL_SUBTEST_3(( symm<std::complex<double>,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) ));
|
CALL_SUBTEST_3(( symm<std::complex<double>,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) ));
|
||||||
|
|
||||||
CALL_SUBTEST_4(( symm<float,Dynamic,1>(ei_random<int>(10,320)) ));
|
CALL_SUBTEST_4(( symm<float,Dynamic,1>(ei_random<int>(1,320)) ));
|
||||||
CALL_SUBTEST_5(( symm<double,Dynamic,1>(ei_random<int>(10,320)) ));
|
CALL_SUBTEST_5(( symm<double,Dynamic,1>(ei_random<int>(1,320)) ));
|
||||||
CALL_SUBTEST_6(( symm<std::complex<double>,Dynamic,1>(ei_random<int>(10,320)) ));
|
CALL_SUBTEST_6(( symm<std::complex<double>,Dynamic,1>(ei_random<int>(1,320)) ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,11 +75,11 @@ void test_product_syrk()
|
|||||||
for(int i = 0; i < g_repeat ; i++)
|
for(int i = 0; i < g_repeat ; i++)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
s = ei_random<int>(10,320);
|
s = ei_random<int>(1,320);
|
||||||
CALL_SUBTEST_1( syrk(MatrixXf(s, s)) );
|
CALL_SUBTEST_1( syrk(MatrixXf(s, s)) );
|
||||||
s = ei_random<int>(10,320);
|
s = ei_random<int>(1,320);
|
||||||
CALL_SUBTEST_2( syrk(MatrixXd(s, s)) );
|
CALL_SUBTEST_2( syrk(MatrixXd(s, s)) );
|
||||||
s = ei_random<int>(10,320);
|
s = ei_random<int>(1,320);
|
||||||
CALL_SUBTEST_3( syrk(MatrixXcd(s, s)) );
|
CALL_SUBTEST_3( syrk(MatrixXcd(s, s)) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user