Skip to content

Commit

Permalink
Merge pull request #2313 from devitocodes/cstr
Browse files Browse the repository at this point in the history
misc: Use `str` for generalization
  • Loading branch information
mloubout authored Feb 13, 2024
2 parents bb7491d + 7f2b991 commit 8129669
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions devito/operator/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,7 @@ def _jit_compile(self):
"""
if self._lib is None:
with self._profiler.timer_on('jit-compile'):
recompiled, src_file = self._compiler.jit_compile(self._soname,
str(self.ccode))
recompiled, src_file = self._compiler.jit_compile(self._soname, str(self))

elapsed = self._profiler.py_timers['jit-compile']
if recompiled:
Expand Down

0 comments on commit 8129669

Please sign in to comment.