Skip to content

Commit be099e8

Browse files
EdCauntmloubout
authored andcommitted
tests: Replace Mul with UnevalMul
1 parent b949953 commit be099e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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, pow_to_mul,
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)
@@ -880,7 +880,7 @@ def test_assumptions(self, op, expr, assumptions, expected):
880880
def test_issue_2577():
881881

882882
u = TimeFunction(name='u', grid=Grid((2,)))
883-
eq = Eq(u.forward, Mul(-1, -1., u))
883+
eq = Eq(u.forward, UnevalMul(-1, -1., u))
884884
op = Operator(eq)
885885

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

0 commit comments

Comments
 (0)