From cf5c5ed72526101ea33dc9f34f7ad1375119603e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 21 Jun 2013 09:27:38 +0200 Subject: Fix warning typedef XXX locally defined but not used --- unsupported/test/matrix_power.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unsupported/test/matrix_power.cpp') diff --git a/unsupported/test/matrix_power.cpp b/unsupported/test/matrix_power.cpp index 2763b97cc..39d5bf7cc 100644 --- a/unsupported/test/matrix_power.cpp +++ b/unsupported/test/matrix_power.cpp @@ -161,12 +161,12 @@ void testMatrixVector(const MatrixType& m, const VectorType& v, double tol) testTriangularProduct(m,v,tol); } +typedef Matrix Matrix3dRowMajor; +typedef Matrix MatrixXe; +typedef Matrix VectorXe; + void test_matrix_power() { - typedef Matrix Matrix3dRowMajor; - typedef Matrix MatrixXe; - typedef Matrix VectorXe; - CALL_SUBTEST_2(test2dRotation(1e-13)); CALL_SUBTEST_1(test2dRotation(2e-5)); // was 1e-5, relaxed for clang 2.8 / linux / x86-64 CALL_SUBTEST_9(test2dRotation(1e-13)); -- cgit v1.2.3