aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/redux.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-09-16 14:18:30 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2009-09-16 14:18:30 -0400
commit46be9c9ac14fc951599ecd5dc7cd3c1a44f8b9d5 (patch)
tree445525ccd7d9656faf81cee29fc0f102e482658c /test/redux.cpp
parent4a6e5694d60ef0dab6ed17e563372c94a2744a31 (diff)
* fix super nasty bug: vector.maxCoeff(&index) didn't work when 'vector'
was a row-vector. Fixed by splitting the vector version from the matrix version. * add unit test, the visitors weren't covered by any test!!
Diffstat (limited to 'test/redux.cpp')
-rw-r--r--test/redux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/redux.cpp b/test/redux.cpp
index 2a0dc97f1..b929fdc0e 100644
--- a/test/redux.cpp
+++ b/test/redux.cpp
@@ -120,7 +120,7 @@ void test_redux()
CALL_SUBTEST( matrixRedux(MatrixXi(8, 12)) );
}
for(int i = 0; i < g_repeat; i++) {
- CALL_SUBTEST( vectorRedux(VectorXf(5)) );
+ CALL_SUBTEST( vectorRedux(VectorX4f()) );
CALL_SUBTEST( vectorRedux(VectorXd(10)) );
CALL_SUBTEST( vectorRedux(VectorXf(33)) );
}