aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-02-25 21:01:52 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-02-25 21:01:52 -0500
commit769641bc58745fecc1fa4e537466a1fff48f4a8a (patch)
treeb48ea97e085d48cfd04b6f77bf14a70c697d58d5 /test
parent5491531a8119223322110d18056a5a94bbbe413e (diff)
* Implement the ByOuterInner accessors
* use them (big simplification in Assign.h) * axe (Inner|Outer)StrideAtCompileTime that were just introduced * ei_int_if_dynamic now asserts that the size is the expected one: adapt to that in Block.h * add rowStride() / colStride() in DenseBase * implement innerStride() / outerStride() everywhere needed
Diffstat (limited to 'test')
-rw-r--r--test/submatrices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/submatrices.cpp b/test/submatrices.cpp
index a9dcf8476..e71c28ceb 100644
--- a/test/submatrices.cpp
+++ b/test/submatrices.cpp
@@ -217,11 +217,11 @@ void data_and_stride(const MatrixType& m)
MatrixType m1 = MatrixType::Random(rows, cols);
compare_using_data_and_stride(m1.block(r1, c1, r2-r1+1, c2-c1+1));
- //compare_using_data_and_stride(m1.transpose().block(c1, r1, c2-c1+1, r2-r1+1));
+ compare_using_data_and_stride(m1.transpose().block(c1, r1, c2-c1+1, r2-r1+1));
compare_using_data_and_stride(m1.row(r1));
compare_using_data_and_stride(m1.col(c1));
- //compare_using_data_and_stride(m1.row(r1).transpose());
- //compare_using_data_and_stride(m1.col(c1).transpose());
+ compare_using_data_and_stride(m1.row(r1).transpose());
+ compare_using_data_and_stride(m1.col(c1).transpose());
}
void test_submatrices()