diff options
Diffstat (limited to 'Carpet/CarpetInterp2')
-rw-r--r-- | Carpet/CarpetInterp2/src/fasterp.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetInterp2/src/fasterp.cc b/Carpet/CarpetInterp2/src/fasterp.cc index 249676636..084e3651d 100644 --- a/Carpet/CarpetInterp2/src/fasterp.cc +++ b/Carpet/CarpetInterp2/src/fasterp.cc @@ -709,8 +709,9 @@ namespace CarpetInterp2 { // Find source processor int const p = Carpet::vhh.AT(m)->processor(rl,c); proc.AT(n) = p; + int& nlocs_p = nlocs.AT(p); #pragma omp atomic - ++ nlocs.AT(p); + ++ nlocs_p; // Output if (veryverbose) { |