aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/jacobi.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-07-05 13:35:34 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-07-05 13:35:34 +0200
commit9b9177f1ce0f6017976b841f88d0842ee3c823a2 (patch)
tree80a695e97df661961d63d2a241f3fdf3d8e4e17b /test/jacobi.cpp
parent7d8823c8b7b637fcbf1f3356e2cdb8d5dc80c607 (diff)
Fix a couple of warnings in unit tests.
Diffstat (limited to 'test/jacobi.cpp')
-rw-r--r--test/jacobi.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/jacobi.cpp b/test/jacobi.cpp
index 0e6f1de49..7ccd4124b 100644
--- a/test/jacobi.cpp
+++ b/test/jacobi.cpp
@@ -74,7 +74,8 @@ void test_jacobi()
// complex<float> is really important to test as it is the only way to cover conjugation issues in certain unaligned paths
CALL_SUBTEST_6(( jacobi<MatrixXcf, float>(MatrixXcf(r,c)) ));
CALL_SUBTEST_6(( jacobi<MatrixXcf, std::complex<float> >(MatrixXcf(r,c)) ));
- (void) r;
- (void) c;
+
+ TEST_SET_BUT_UNUSED_VARIABLE(r);
+ TEST_SET_BUT_UNUSED_VARIABLE(c);
}
}