diff --git a/python/src/bind_Cluster.hpp b/python/src/bind_Cluster.hpp index d483ffd..b6f4272 100644 --- a/python/src/bind_Cluster.hpp +++ b/python/src/bind_Cluster.hpp @@ -24,7 +24,7 @@ void define_Cluster(py::module &m, const std::string &typestr) { py::class_>( m, class_name.c_str(), py::buffer_protocol()) - .def(py::init([](uint8_t x, uint8_t y, + .def(py::init([](CoordType x, CoordType y, py::array_t data) { py::buffer_info buf_info = data.request(); Cluster cluster;