diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-08-16 14:36:59 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-08-16 14:36:59 +0000 |
commit | 7333b0e5590ddca8fa0a9b4f87672104f705178c (patch) | |
tree | 6d6f9f252eac030b9ab8366486a31dc2d96d2f10 | |
parent | 0cd6044f280d1987d9df2007cadb050f19ed933a (diff) |
fix botched loop bounds
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@266 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r-- | src/patch/test_coords2.cc | 6 |
1 files 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<fp>::GE(x,xyz_minmax) ; x -= xyz_delta) + for (fp x = xyz_minmax ; fuzzy<fp>::GE(x,-xyz_minmax) ; x -= xyz_delta) { - for (fp y = xyz_minmax ; fuzzy<fp>::GE(y,xyz_minmax) ; y -= xyz_delta) + for (fp y = xyz_minmax ; fuzzy<fp>::GE(y,-xyz_minmax) ; y -= xyz_delta) { - for (fp z = xyz_minmax ; fuzzy<fp>::GE(z,xyz_minmax) ; z -= xyz_delta) + for (fp z = xyz_minmax ; fuzzy<fp>::GE(z,-xyz_minmax) ; z -= xyz_delta) { // avoid places where angular coords might not be defined if ( fuzzy<fp>::EQ(x,0.0) |