aboutsummaryrefslogtreecommitdiff
path: root/src/ADMConstraints.F
diff options
context:
space:
mode:
Diffstat (limited to 'src/ADMConstraints.F')
-rw-r--r--src/ADMConstraints.F4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ADMConstraints.F b/src/ADMConstraints.F
index 376c067..4abc93e 100644
--- a/src/ADMConstraints.F
+++ b/src/ADMConstraints.F
@@ -76,7 +76,7 @@ c Macros from Standard Einstein.
c --------------------------------------------------------------
- if (check_excision_bitmask) then
+ if (check_excision_bitmask .ne. 0) then
call SpaceMask_GetTypeBits(ex_field, excision_mask_name)
call SpaceMask_GetStateBits(ex_type_excised, excision_mask_name, \
excision_type_excised)
@@ -132,7 +132,7 @@ c Calculate constraints.
if (use_mask .eq. 1) then
if (abs(emask(i,j,k)-1) > 0.001) then
docalc = .FALSE.
- elseif (check_excision_bitmask .and.
+ elseif (check_excision_bitmask .ne. 0 .and.
. SpaceMask_CheckStateBitsF90(space_mask, i, j, k,\
ex_field, ex_type_excised)) then
docalc = .FALSE.