Skip to content

Commit

Permalink
Merge pull request #2414 from devitocodes/tsub-patch
Browse files Browse the repository at this point in the history
api: Patch ConditioanlDImension args
  • Loading branch information
mloubout authored Jul 18, 2024
2 parents 830a8cf + 1e1f28a commit ea94a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/types/dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit ea94a0f

Please sign in to comment.