diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-07-05 13:35:34 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-07-05 13:35:34 +0200 |
commit | 9b9177f1ce0f6017976b841f88d0842ee3c823a2 (patch) | |
tree | 80a695e97df661961d63d2a241f3fdf3d8e4e17b /test/jacobi.cpp | |
parent | 7d8823c8b7b637fcbf1f3356e2cdb8d5dc80c607 (diff) |
Fix a couple of warnings in unit tests.
Diffstat (limited to 'test/jacobi.cpp')
-rw-r--r-- | test/jacobi.cpp | 5 |
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); } } |