Skip to content

Commit a703128

Browse files
committed
tests: Replace Mul with UnevalMul
1 parent 0180bad commit a703128

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_symbolics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
INT, FieldFromComposite, IntDiv, Namespace, Rvalue,
1616
ReservedWord, ListInitializer, uxreplace,
1717
retrieve_derivatives, BaseCast)
18-
from devito.symbolics.unevaluation import Mul
18+
from devito.symbolics.unevaluation import Mul as UnevalMul
1919
from devito.tools import as_tuple
2020
from devito.types import (Array, Bundle, FIndexed, LocalObject, Object,
2121
ComponentAccess, StencilDimension, Symbol as dSymbol)
@@ -864,7 +864,7 @@ def test_assumptions(self, op, expr, assumptions, expected):
864864
def test_issue_2577():
865865

866866
u = TimeFunction(name='u', grid=Grid((2,)))
867-
eq = Eq(u.forward, Mul(-1, -1., u))
867+
eq = Eq(u.forward, UnevalMul(-1, -1., u))
868868
op = Operator(eq)
869869

870870
assert '--' not in str(op.ccode)

0 commit comments

Comments
 (0)