Skip to content
Snippets Groups Projects
Commit 5349be93 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

err msg

parent 7efd8db5
No related branches found
No related tags found
1 merge request!1636PyCore: Re-implementation of embedded Python as a separate module (Major change)
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment