aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-08-19 19:25:35 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-08-19 19:25:35 +0200
commit55c7848877bb7959e166af08980698d08bc57bc3 (patch)
tree419d930d49b6b5c816718cff99b95a431535f3ee /test/main.h
parentd4b664c4cdcbfd5d4fe4cfbb59c1d6e735b3e469 (diff)
Matrix product refactoring (rhs products only).
Added strong inlines required for MSVC for proper inlining. Added specializations for DiagonalMatrix products to RotationBase. Added left- and righ-hand-side products with DiagonalMatrix to Transform. RHS Transform products now return Matrix objects only. Split the geo_transformations unit test. Some tests were not made for projectivities. Removed unused variables from main.h that caused warnings.
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/main.h b/test/main.h
index 6aee00373..8fa4ca8b5 100644
--- a/test/main.h
+++ b/test/main.h
@@ -118,7 +118,7 @@ namespace Eigen
for (uint ai=0 ; ai<ei_assert_list.size() ; ++ai) \
std::cerr << " " << ei_assert_list[ai] << "\n"; \
VERIFY(Eigen::should_raise_an_assert && # a); \
- } catch (Eigen::ei_assert_exception e) { \
+ } catch (Eigen::ei_assert_exception) { \
Eigen::ei_push_assert = false; VERIFY(true); \
} \
Eigen::report_on_cerr_on_assert_failure = true; \
@@ -144,7 +144,7 @@ namespace Eigen
a; \
VERIFY(Eigen::should_raise_an_assert && # a); \
} \
- catch (Eigen::ei_assert_exception& e) { VERIFY(true); } \
+ catch (Eigen::ei_assert_exception&) { VERIFY(true); } \
Eigen::report_on_cerr_on_assert_failure = true; \
}