diff options
Diffstat (limited to 'src/patch')
-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) |