aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/CarpetEvolutionMask/src/evolution_mask.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
index f1358476c..527ff33f2 100644
--- a/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
+++ b/Carpet/CarpetEvolutionMask/src/evolution_mask.cc
@@ -138,7 +138,7 @@ namespace CarpetEvolutionMask {
// cout << "notrefined: " << notrefined << endl;
ivect enlargeby;
- int stencil_size = dd.prolongation_stencil_size();
+ int stencil_size = dd.prolongation_stencil_size(reflevel);
for (int d=0; d<dim;d++) {
enlargeby[d] = cctkGH->cctk_nghostzones[d] + buffer_width +
stencil_size;