From 39ac57fa6ddf9a74d9a6cc213293914d2e05ec31 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 4 Jan 2010 21:24:43 -0500 Subject: Big renaming: start ---> head end ---> tail Much frustration with sed syntax. Need to learn perl some day. --- test/geo_orthomethods.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/geo_orthomethods.cpp') diff --git a/test/geo_orthomethods.cpp b/test/geo_orthomethods.cpp index 54a6febab..9f1113559 100644 --- a/test/geo_orthomethods.cpp +++ b/test/geo_orthomethods.cpp @@ -66,7 +66,7 @@ template void orthomethods_3() v41 = Vector4::Random(), v42 = Vector4::Random(); v40.w() = v41.w() = v42.w() = 0; - v42.template start<3>() = v40.template start<3>().cross(v41.template start<3>()); + v42.template head<3>() = v40.template head<3>().cross(v41.template head<3>()); VERIFY_IS_APPROX(v40.cross3(v41), v42); } @@ -88,8 +88,8 @@ template void orthomethods(int size=Size) if (size>=3) { - v0.template start<2>().setZero(); - v0.end(size-2).setRandom(); + v0.template head<2>().setZero(); + v0.tail(size-2).setRandom(); VERIFY_IS_MUCH_SMALLER_THAN(v0.unitOrthogonal().dot(v0), Scalar(1)); VERIFY_IS_APPROX(v0.unitOrthogonal().norm(), RealScalar(1)); -- cgit v1.2.3