Skip to content
Snippets Groups Projects
Commit 9398fbd5 authored by AlQuemist's avatar AlQuemist
Browse files

SWIG API: update

parent eaec9449
No related branches found
No related tags found
1 merge request!2759Use the stable Python C-API for compatibility with ealier Python versions
Pipeline #171382 passed
......@@ -6769,7 +6769,7 @@ void BA_SWIG_exePySimulation(void* pSimulationCallable, const mumufit::Parameter
#endif // DEBUG
 
// call the Python function with arguments
PyObject* pResult = PyObject_CallOneArg(pyFunc, params_dict);
PyObject* pResult = PyObject_CallFunctionObjArgs(pyFunc, params_dict, NULL);
Py_DECREF(params_dict);
 
if (!pResult) {
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