diff options
author | schnetter <> | 2003-06-20 09:58:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-06-20 09:58:00 +0000 |
commit | 37562c4c0a0efbd5806e82db35163c215e32a81a (patch) | |
tree | 28712c66904693470a8b00de901f9514ac1a7de2 /Carpet/Carpet/src/carpet_public.hh | |
parent | a911fd254cf28fc07e6223be83fd51508ca1b3f6 (diff) |
Fix a bug: Loops over processor-local components should loop over,
Fix a bug: Loops over processor-local components should loop over,
well, processor-local components only.
darcs-hash:20030620095832-07bb3-50b3b7f3decf18689a29947cb2a49c90fb2d7b70.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet_public.hh')
-rw-r--r-- | Carpet/Carpet/src/carpet_public.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/carpet_public.hh b/Carpet/Carpet/src/carpet_public.hh index 10989325a..b4eba6764 100644 --- a/Carpet/Carpet/src/carpet_public.hh +++ b/Carpet/Carpet/src/carpet_public.hh @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.30 2003/06/18 18:28:07 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet_public.hh,v 1.31 2003/06/20 11:58:32 schnetter Exp $ // It is assumed that the number of components of all arrays is equal // to the number of components of the grid functions, and that their @@ -262,7 +262,7 @@ namespace Carpet { _maxcl=component; \ } \ for (int _c=_mincl; _c<_maxcl; ++_c) { \ - if (_grouptype==CCTK_GF || hh->is_local(reflevel,_c)) { \ + if (_grouptype!=CCTK_GF || hh->is_local(reflevel,_c)) { \ if (_grouptype==CCTK_GF) set_component (_cgh, _c); \ { #define END_LOCAL_COMPONENT_LOOP \ |