diff --git a/src/entity-py.cc b/src/entity-py.cc index 332fa4d7f93b0dd2304047b82662fb8fd3848f22..53f05c29d1fde02683aed90217f9d43555f6892e 100644 --- a/src/entity-py.cc +++ b/src/entity-py.cc @@ -234,7 +234,7 @@ namespace dynamicgraph { valueVector.push_back(value); } catch(const std::exception& exc) { std::stringstream ss; - ss << "Error while parsing argument " << iParam+1 << ": " + ss << "while parsing argument " << iParam+1 << ": expecting " << exc.what() << "."; PyErr_SetString(dgpyError, ss.str().c_str()) ; return NULL;