diff --git a/python/src/detector.cpp b/python/src/detector.cpp index c11e61167..f9e3821d7 100644 --- a/python/src/detector.cpp +++ b/python/src/detector.cpp @@ -932,10 +932,7 @@ void init_det(py::module &m) { Detector::setRxArping, py::arg(), py::arg() = Positions{}); CppDetectorApi.def("getRxROI", - (std::vector(Detector::*)() const) & - Detector::getRxROI); - CppDetectorApi.def("getRxROI", - (std::vector(Detector::*)(int) const) & + (std::vector (Detector::*)(int) const) & Detector::getRxROI, py::arg()); CppDetectorApi.def("setRxROI",