Skip to content
Snippets Groups Projects
Commit 703d6836 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Guilhem Saurel
Browse files

Replace std::cerr by dgERROR

parent 20681b37
No related branches found
No related tags found
No related merge requests found
Pipeline #1068 passed
...@@ -78,9 +78,9 @@ namespace dynamicgraph { ...@@ -78,9 +78,9 @@ namespace dynamicgraph {
} }
char format[] = "i"; char format[] = "i";
PyObject* obj = PyObject_CallFunction(callable, format, t); PyObject* obj = PyObject_CallFunction(callable, format, t);
if (obj == NULL) if (obj == NULL) {
std::cerr << "Could not call callable" << std::endl; dgERROR << "Could not call callable" << std::endl;
else { } else {
signalWrapper::convert (obj, value); signalWrapper::convert (obj, value);
Py_DECREF(obj); Py_DECREF(obj);
} }
......
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