Skip to content

Commit

Permalink
compiler: remove mul print tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Sep 8, 2023
1 parent eafda08 commit cd59050
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions devito/symbolics/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ def _print_Mod(self, expr):
args = ['(%s)' % self._print(a) for a in expr.args]
return '%'.join(args)

def _print_Mul(self, expr):
term = super()._print_Mul(expr)
return term.replace("(-1)*", "-")

def _print_Min(self, expr):
if has_integer_args(*expr.args) and len(expr.args) == 2:
return "MIN(%s)" % self._print(expr.args)[1:-1]
Expand Down

0 comments on commit cd59050

Please sign in to comment.