Backout changeset 690bc950f7

This commit is contained in:
Gael Guennebaud
2016-01-22 15:03:53 +01:00
parent 06971223ef
commit 6a44ccb58b
10 changed files with 25 additions and 25 deletions

View File

@@ -130,7 +130,7 @@ static void test_3d()
}
TensorMap<Tensor<const int, 3>> mat3(mat1.data(), 2, 3, 7);
TensorMap<Tensor<const int, 3, RowMajor>> mat4(mat2.data(), array<DenseIndex, 3>{2, 3, 7});
TensorMap<Tensor<const int, 3, RowMajor>> mat4(mat2.data(), array<DenseIndex, 3>{{2, 3, 7}});
VERIFY_IS_EQUAL(mat3.rank(), 3);
VERIFY_IS_EQUAL(mat3.size(), 2*3*7);