Skip to content

Commit 9a182da

Browse files
committed
misc: Fix advisor profiling with new language arg
1 parent e3e26f0 commit 9a182da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

devito/operator/profiling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,11 @@ class AdvisorProfiler(AdvancedProfiler):
375375
_default_libs = ['ittnotify']
376376
_ext_calls = [_api_resume, _api_pause]
377377

378-
def __init__(self, name):
378+
def __init__(self, name, language):
379379
if self._attempted_init:
380380
return
381381

382-
super().__init__(name)
382+
super().__init__(name, language)
383383

384384
path = get_advisor_path()
385385
if path:

0 commit comments

Comments
 (0)