diff options
author | tradke <tradke@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2002-08-18 20:19:19 +0000 |
---|---|---|
committer | tradke <tradke@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2002-08-18 20:19:19 +0000 |
commit | c32a652ee509c4763ffb653bdc52ad172544252c (patch) | |
tree | eb8983f1f3a817c7cb8b9e8291d6b0a6b5f749b2 | |
parent | b293b033acee98e36d22dc477b1e30f85c867641 (diff) |
Fixed SCALAR_BOUNDARY_TYPED macro which used the wrong loop counters.
This lets the test_wavef90_zero testsuite pass again.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@177 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r-- | src/ScalarBoundary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c index 6211ee2..01d78ca 100644 --- a/src/ScalarBoundary.c +++ b/src/ScalarBoundary.c @@ -755,13 +755,13 @@ void CCTK_FCALL CCTK_FNAME (BndScalarVN) { \ for (j = 0; j < jend; j++) \ { \ + for (i = 0; i < iend; i++) \ + { \ int _index; \ \ \ - _index = INDEX_3D (lsh, 0, jj, kk); \ - for (i = 0; i < iend; i++) \ - { \ - ((left_cctk_type *) GH->data[var][timelvl])[_index++] NUMBER_PART = \ + _index = INDEX_3D (lsh, ii, jj, kk); \ + ((left_cctk_type *) GH->data[var][timelvl])[_index] NUMBER_PART = \ (right_cctk_type) scalar; \ } \ } \ |