Skip to content

Commit 387cc41

Browse files
FabioLuporinimloubout
authored andcommitted
compiler: Make pointer arithmetic feasible for Pointer
1 parent 91e2a07 commit 387cc41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/types/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _defines(self):
176176
return frozenset().union(*[i._defines for i in self])
177177

178178

179-
class Pointer(LocalObject):
179+
class Pointer(LocalObject, sympy.Expr):
180180

181181
__rkwargs__ = LocalObject.__rkwargs__ + ('dtype',)
182182

0 commit comments

Comments
 (0)