Skip to content

Commit

Permalink
Fixed a typo that was introduced in commit e1daf32.
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-paul-mueller committed Dec 4, 2024
1 parent 724d1f5 commit 10ae1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dace/subsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def covers(self, other):
# Subsets of different dimensionality can never cover each other.
if self.dims() != other.dims():
return ValueError(
f"A subset of dimensionality {self.dim()} cannot test covering a subset of dimensionality {other.dims()}"
f"A subset of dimensionality {self.dims()} cannot test covering a subset of dimensionality {other.dims()}"
)

if not Config.get('optimizer', 'symbolic_positive'):
Expand All @@ -106,7 +106,7 @@ def covers_precise(self, other):
# Subsets of different dimensionality can never cover each other.
if self.dims() != other.dims():
return ValueError(
f"A subset of dimensionality {self.dim()} cannot test covering a subset of dimensionality {other.dims()}"
f"A subset of dimensionality {self.dims()} cannot test covering a subset of dimensionality {other.dims()}"
)

# If self does not cover other with a bounding box union, return false.
Expand Down

0 comments on commit 10ae1e2

Please sign in to comment.