aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-07-19 10:44:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-07-19 10:44:44 +0200
commit22cc2b727b289b5dabba32d3e7a6e202a0784f74 (patch)
tree55a3c6fb9b186f7d7f8fbdb2bba1d7cc92aebb32 /test
parent38a4e3053dc762994c1cb5f6c2d8e1e6af1bfa38 (diff)
fix trmv unit test
Diffstat (limited to 'test')
-rw-r--r--test/product_trmv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_trmv.cpp b/test/product_trmv.cpp
index 76484dce6..0f676beca 100644
--- a/test/product_trmv.cpp
+++ b/test/product_trmv.cpp
@@ -94,7 +94,7 @@ void test_product_trmv()
CALL_SUBTEST_2( trmv(Matrix<float, 2, 2>()) );
CALL_SUBTEST_3( trmv(Matrix3d()) );
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2);
- CALL_SUBTEST_4( trmv(MatrixXcf(s,internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) );
+ CALL_SUBTEST_4( trmv(MatrixXcf(s,s)) );
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2);
CALL_SUBTEST_5( trmv(MatrixXcd(s,s)) );
s = internal::random<int>(1,EIGEN_TEST_MAX_SIZE);