From 7f2b991f000abd923b0d1737f358c907b79cb5e8 Mon Sep 17 00:00:00 2001 From: mloubout Date: Tue, 13 Feb 2024 09:59:55 -0500 Subject: [PATCH] misc: string ccode as property --- devito/operator/operator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devito/operator/operator.py b/devito/operator/operator.py index 84644a8c83..234ac83a5d 100644 --- a/devito/operator/operator.py +++ b/devito/operator/operator.py @@ -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: