From 7bc8e3ac0917cdc14015e00e8b29ac299b2b772a Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Mon, 25 Oct 2010 22:13:49 +0200 Subject: Initial fixes for bug #85. Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const. Changed boolean type 'ret' member to 'value'. Changed 'ret' members refering to types to 'type'. Adapted all code occurences. --- test/geo_quaternion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/geo_quaternion.cpp') diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index 6ad9a099d..aab7ed3f7 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -40,7 +40,7 @@ template void quaternion(void) typedef AngleAxis AngleAxisx; Scalar largeEps = test_precision(); - if (internal::is_same_type::ret) + if (internal::is_same::value) largeEps = 1e-3f; Scalar eps = internal::random() * Scalar(1e-2); @@ -96,7 +96,7 @@ template void quaternion(void) VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized()); VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized()); VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); - if (internal::is_same_type::ret) + if (internal::is_same::value) { v3 = (v1.array()+eps).matrix(); VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized()); -- cgit v1.2.3