aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AHFinder.F2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AHFinder.F b/src/AHFinder.F
index 9abcc1f..364e301 100644
--- a/src/AHFinder.F
+++ b/src/AHFinder.F
@@ -95,7 +95,7 @@
! sure that the mask is 1 and not 0 in case some other
! thorn wants to use it.
- if (cctk_iteration.eq.0) then
+ if (cctk_iteration.eq.0 .or. CCTK_EQUALS(ahf_mask, "off")) then
ahmask = one
end if