aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sizeof.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 17:16:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-12 17:16:40 +0200
commit12e1ebb68b93b218a3553af67fee8535d79e857e (patch)
treebcaaf67b6ac5541f1d2a55357d4796c606fa0a3d /test/sizeof.cpp
parent63185be8b240ee1a9ef476af2fc06676d3d89fe0 (diff)
Remove local Index typedef from unit-tests
Diffstat (limited to 'test/sizeof.cpp')
-rw-r--r--test/sizeof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sizeof.cpp b/test/sizeof.cpp
index 03ad20453..e552bae7a 100644
--- a/test/sizeof.cpp
+++ b/test/sizeof.cpp
@@ -15,7 +15,7 @@ template<typename MatrixType> void verifySizeOf(const MatrixType&)
if (MatrixType::RowsAtCompileTime!=Dynamic && MatrixType::ColsAtCompileTime!=Dynamic)
VERIFY_IS_EQUAL(std::ptrdiff_t(sizeof(MatrixType)),std::ptrdiff_t(sizeof(Scalar))*std::ptrdiff_t(MatrixType::SizeAtCompileTime));
else
- VERIFY_IS_EQUAL(sizeof(MatrixType),sizeof(Scalar*) + 2 * sizeof(typename MatrixType::Index));
+ VERIFY_IS_EQUAL(sizeof(MatrixType),sizeof(Scalar*) + 2 * sizeof(Index));
}
void test_sizeof()