From aaaade4b3d66d67d2c08af3372c3965e7255b2e8 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sun, 30 May 2010 16:00:58 -0400 Subject: the Index types change. As discussed on the list (too long to explain here). --- test/sizeof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sizeof.cpp') diff --git a/test/sizeof.cpp b/test/sizeof.cpp index a7243591a..779f3b5db 100644 --- a/test/sizeof.cpp +++ b/test/sizeof.cpp @@ -30,7 +30,7 @@ template void verifySizeOf(const MatrixType&) if (MatrixType::RowsAtCompileTime!=Dynamic && MatrixType::ColsAtCompileTime!=Dynamic) VERIFY(sizeof(MatrixType)==sizeof(Scalar)*MatrixType::SizeAtCompileTime); else - VERIFY(sizeof(MatrixType)==sizeof(Scalar*) + 2 * sizeof(int)); + VERIFY(sizeof(MatrixType)==sizeof(Scalar*) + 2 * sizeof(typename MatrixType::Index)); } void test_sizeof() -- cgit v1.2.3