diff --git a/src/Base/IntVect.cpp b/src/Base/IntVect.cpp index 50b29b04..0ec68921 100644 --- a/src/Base/IntVect.cpp +++ b/src/Base/IntVect.cpp @@ -28,8 +28,10 @@ namespace py::class_< iv_type > py_iv(m, iv_name.c_str()); py_iv .def("__repr__", - [iv_name](const iv_type&) { - return ""; + [iv_name](const iv_type& iv) { + std::stringstream s; + s << iv; + return ""; } ) .def("__str",