Skip to content

Commit 3abc014

Browse files
committed
misc: Tidy up
1 parent 7d0f614 commit 3abc014

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

devito/passes/iet/languages/CXX.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class CXXPrinter(BasePrinter, CXX11CodePrinter):
103103

104104
def _print_ImaginaryUnit(self, expr):
105105
return f'1i{self.prec_literal(expr).lower()}'
106-
# return '1i'
107106

108107
def _print_Re(self, expr):
109108
return f'{self._ns}real({self._print(expr.args[0])})'

tests/test_symbolics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,6 @@ def test_assumptions(self, op, expr, assumptions, expected):
821821

822822

823823
class TestComplexParts:
824-
# TODO: Add a cxx switchconfig
825824
def setup_basic(self, dtype):
826825
grid = Grid(shape=(5,), extent=(4.,))
827826
f = Function(name='f', grid=grid, dtype=dtype)

0 commit comments

Comments
 (0)