Skip to content
Snippets Groups Projects

PyCore: Re-implementation of embedded Python as a separate module (Major change)

Merged Ammar Nejati requested to merge newEmbeddedPython into main
1 file
+ 1
3
Compare changes
  • Side-by-side
  • Inline
@@ -58,9 +58,7 @@ PyObjectPtr createMultiLayerFromPython(void*& multilayer_ptr, const std::string&
if (!SWIG_IsOK(res)) {
Py_DecRef(instance);
throw std::runtime_error(
errorDescription("PyInterpreter::BornAgain: SWIG failed to extract a "
"'MultiLayer' instance via calling the function '"
+ functionName + "'"));
errorDescription("Call of '" + functionName + "' did not yield MultiLayer instance"));
}
multilayer_ptr = reinterpret_cast<void*>(argp1);
Loading