From b4dcdca93be8fa5501a8d97be9bc3dd70b4a1a99 Mon Sep 17 00:00:00 2001 From: Tal Ben-Nun Date: Thu, 31 Oct 2024 16:56:10 -0700 Subject: [PATCH] Update _common.py --- dace/libraries/stencil/_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dace/libraries/stencil/_common.py b/dace/libraries/stencil/_common.py index 66a7607316..a08971c9af 100644 --- a/dace/libraries/stencil/_common.py +++ b/dace/libraries/stencil/_common.py @@ -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: