diff options
author | eschnett <eschnett@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2011-10-08 14:00:25 +0000 |
---|---|---|
committer | eschnett <eschnett@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2011-10-08 14:00:25 +0000 |
commit | 1ebd27541834a0a213349c51f9f9d5da82d03fe1 (patch) | |
tree | 5e199d3feea9ada7780593fe3789e6968321510d | |
parent | 2dc106d31562d493703579b246c36b52cba574c7 (diff) |
Avoid nans on the symmetry axis
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@124 eec4d7dc-71c2-46d6-addf-10296150bf52
-rw-r--r-- | src/Cartoon2DBC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cartoon2DBC.c b/src/Cartoon2DBC.c index 027e9f7..753b1db 100644 --- a/src/Cartoon2DBC.c +++ b/src/Cartoon2DBC.c @@ -181,7 +181,7 @@ int BndCartoon2DVI(const cGH *cctkGH, int tensortype, int prolongtype, int vi) for (i = -s; i < lnx; i++) { #else for (i = 0; i < lnx; i++) - if (! (i > s && jj == 0)) { + if (! (i >= s && jj == 0)) { #endif /* index into linear memory */ |