Use std::shared_ptr<Python> for Python argument in Schedule
This commit is contained in:
@@ -45,7 +45,7 @@ class EclipseState;
|
||||
this Python manager indeed has a valid Python runtime:
|
||||
|
||||
|
||||
Python python;
|
||||
auto python = std::make_shared<Python>();
|
||||
|
||||
if (python)
|
||||
python.exec("print('Hello world')")
|
||||
|
||||
Reference in New Issue
Block a user