We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e18f838 commit 5fd5f19Copy full SHA for 5fd5f19
1 file changed
devito/passes/iet/languages/C.py
@@ -57,11 +57,9 @@ def _print_ImaginaryUnit(self, expr):
57
return '_Complex_I'
58
59
def _print_Re(self, expr):
60
- """Print an Re as an access into the second entry of a float array."""
61
return (f'{self.func_prefix(expr)}real{self.func_literal(expr).lower()}'
62
f'({self._print(expr.args[0])})')
63
64
def _print_Im(self, expr):
65
- """Print an Im as an access into the second entry of a float array."""
66
return (f'{self.func_prefix(expr)}imag{self.func_literal(expr).lower()}'
67
0 commit comments