Skip to content

Commit 6b3c934

Browse files
committed
compiler: Fixup IndexedPointer
1 parent de6041b commit 6b3c934

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

devito/symbolics/extended_sympy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,9 @@ def __new__(cls, base, index, **kwargs):
440440
if not isinstance(base, sympy.Basic):
441441
raise ValueError("`base` must be of type sympy.Basic")
442442

443-
index = tuple(sympify(i) for i in as_tuple(index))
443+
index = Tuple(*[sympify(i) for i in as_tuple(index)])
444444

445-
obj = sympy.Expr.__new__(cls, base, *index)
445+
obj = sympy.Expr.__new__(cls, base, index)
446446
obj._base = base
447447
obj._index = index
448448

0 commit comments

Comments
 (0)