From 0543d44e1eb3d5223a0592831d2a882e11e20cb5 Mon Sep 17 00:00:00 2001 From: allen Date: Sun, 19 Aug 2001 12:58:41 +0000 Subject: Fixed bug for assigning delta Cactus/756 git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@17 1c20744c-e24a-42ec-9533-f5004cb800e5 --- src/Operator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Operator.c b/src/Operator.c index 58e8c74..0ee3c23 100644 --- a/src/Operator.c +++ b/src/Operator.c @@ -1024,7 +1024,7 @@ static int GetLocalCoords (cGH *GH, for (dim = 0; dim < extras->dim; dim++) { CCTK_CoordRange (GH, &origin[dim], &delta[dim], dim+1, NULL, coord_system); - delta[dim] = (delta[dim] - origin[dim]) / extras->nsize[dim]; + delta[dim] = (delta[dim] - origin[dim]) / (extras->nsize[dim]-1); } /* locate the points to interpolate at */ -- cgit v1.2.3