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 {
}
char format[] = "i";
PyObject* obj = PyObject_CallFunction(callable, format, t);
if (obj == NULL)
std::cerr << "Could not call callable" << std::endl;
else {
if (obj == NULL) {
dgERROR << "Could not call callable" << std::endl;
} else {
signalWrapper::convert (obj, value);
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