Commit 703d6836 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Guilhem Saurel

Replace std::cerr by dgERROR

parent 20681b37
Pipeline #1068 passed with stage
in 1 minute and 27 seconds
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment