Skip to content

Commit

Permalink
misc: string ccode as property
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Feb 13, 2024
1 parent a3ea3c1 commit 7f2b991
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 7f2b991

Please sign in to comment.