Skip to content

Commit 3022790

Browse files
committed
dsl: Update repr for HierarchyLayer
1 parent 57ee2b6 commit 3022790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/types/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self, suffix=''):
107107
self.suffix = suffix
108108

109109
def __repr__(self):
110-
return f"HierarchyLayer({self.suffix!r})"
110+
return f"{self.__class__.__name__}({self.suffix!r})"
111111

112112
def __eq__(self, other):
113113
return (isinstance(other, HierarchyLayer) and

0 commit comments

Comments
 (0)