From 1e1f28a520ec851a07c0370762c46559c888eead Mon Sep 17 00:00:00 2001 From: mloubout Date: Wed, 17 Jul 2024 21:14:20 -0400 Subject: [PATCH] api: patch subdim args --- devito/types/dimension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devito/types/dimension.py b/devito/types/dimension.py index ae850f1b34..1965dcabc1 100644 --- a/devito/types/dimension.py +++ b/devito/types/dimension.py @@ -1011,7 +1011,7 @@ def _arg_defaults(self, _min=None, size=None, alias=None): # `factor` endpoints are legal, so we return them all. It's then # up to the caller to decide which one to pick upon reduction dim = alias or self - if dim.condition is not None or size is None: + if dim.condition is not None or size is None or dim._factor is None: return defaults try: # Is it a symbolic factor?