mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-11-12 23:53:55 +01:00
changed default CoordType in Cluster constructor in python bindings to uint16_t
This commit is contained in:
1 parent
77a9788891
commit
c78a73ebaf
1 file changed
+1
-1
@@ -24,7 +24,7 @@ void define_Cluster(py::module &m, const std::string &typestr) {
|
||||
py::class_<Cluster<Type, ClusterSizeX, ClusterSizeY, CoordType>>(
|
||||
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<Type, py::array::forcecast> data) {
|
||||
py::buffer_info buf_info = data.request();
|
||||
Cluster<Type, ClusterSizeX, ClusterSizeY, CoordType> cluster;
|
||||
|
||||
Reference in new issue
Block a user