Skip to content

Commit

Permalink
Update _common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun authored Oct 31, 2024
1 parent 597c01c commit b4dcdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/libraries/stencil/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def generate_boundary_conditions(node, shape, field_accesses, field_to_desc, ite
elif btype == "shrink":
# We don't need to do anything here, it's up to the
# user to not use the junk output
boundary_val = dtypes.min_value(dtype)
boundary_val = dtypes.min_value(dtype.base_type)
# Add this to the output condition
oob_cond |= cond_global
else:
Expand Down

0 comments on commit b4dcdca

Please sign in to comment.