From 12e1ebb68b93b218a3553af67fee8535d79e857e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 12 Jul 2018 17:16:40 +0200 Subject: Remove local Index typedef from unit-tests --- 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 03ad20453..e552bae7a 100644 --- a/test/sizeof.cpp +++ b/test/sizeof.cpp @@ -15,7 +15,7 @@ template 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() -- cgit v1.2.3