From 22cc2b727b289b5dabba32d3e7a6e202a0784f74 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 19 Jul 2011 10:44:44 +0200 Subject: [PATCH] fix trmv unit test --- test/product_trmv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) ); CALL_SUBTEST_3( trmv(Matrix3d()) ); s = internal::random(1,EIGEN_TEST_MAX_SIZE/2); - CALL_SUBTEST_4( trmv(MatrixXcf(s,internal::random(1,EIGEN_TEST_MAX_SIZE/2))) ); + CALL_SUBTEST_4( trmv(MatrixXcf(s,s)) ); s = internal::random(1,EIGEN_TEST_MAX_SIZE/2); CALL_SUBTEST_5( trmv(MatrixXcd(s,s)) ); s = internal::random(1,EIGEN_TEST_MAX_SIZE);