diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-06-20 12:38:03 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-06-20 12:38:03 +0000 |
commit | 54238961d65ba96f1352feca1b3ae20d09362ce7 (patch) | |
tree | 2b8cea91f52bd2412ffa7978972f467e009f0da5 /test/linearstructure.cpp | |
parent | e735692e3709d7b42e1c1c7dfb1055081b49b0dc (diff) |
* added a pseudo expression Array giving access to:
- matrix-scalar addition/subtraction operators, e.g.:
m.array() += 0.5;
- matrix/matrix comparison operators, e.g.:
if (m1.array() < m2.array()) {}
* fix compilation issues with Transform and gcc < 4.1
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r-- | test/linearstructure.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp index 02b77c0f0..4c2bdf620 100644 --- a/test/linearstructure.cpp +++ b/test/linearstructure.cpp @@ -94,6 +94,7 @@ void test_linearstructure() { for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST( linearStructure(Matrix<float, 1, 1>()) ); + CALL_SUBTEST( linearStructure(Matrix2f()) ); CALL_SUBTEST( linearStructure(Matrix4d()) ); CALL_SUBTEST( linearStructure(MatrixXcf(3, 3)) ); CALL_SUBTEST( linearStructure(MatrixXf(8, 12)) ); |