From 7333b0e5590ddca8fa0a9b4f87672104f705178c Mon Sep 17 00:00:00 2001 From: jthorn Date: Thu, 16 Aug 2001 14:36:59 +0000 Subject: fix botched loop bounds git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@266 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- src/patch/test_coords2.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/patch/test_coords2.cc b/src/patch/test_coords2.cc index f77d46d..2f243aa 100644 --- a/src/patch/test_coords2.cc +++ b/src/patch/test_coords2.cc @@ -40,11 +40,11 @@ const fp xyz_delta = 0.1; // these loops go *down* so we start in (+,+,+) quadrant // ==> get some successful tests before hard stuff // ==> help test the tests themselves - for (fp x = xyz_minmax ; fuzzy::GE(x,xyz_minmax) ; x -= xyz_delta) + for (fp x = xyz_minmax ; fuzzy::GE(x,-xyz_minmax) ; x -= xyz_delta) { - for (fp y = xyz_minmax ; fuzzy::GE(y,xyz_minmax) ; y -= xyz_delta) + for (fp y = xyz_minmax ; fuzzy::GE(y,-xyz_minmax) ; y -= xyz_delta) { - for (fp z = xyz_minmax ; fuzzy::GE(z,xyz_minmax) ; z -= xyz_delta) + for (fp z = xyz_minmax ; fuzzy::GE(z,-xyz_minmax) ; z -= xyz_delta) { // avoid places where angular coords might not be defined if ( fuzzy::EQ(x,0.0) -- cgit v1.2.3