removed warnings added clang-tidy

This commit is contained in:
froejdh_e
2025-02-21 11:18:39 +01:00
parent 1d2c38c1d4
commit 8ae6bb76f8
11 changed files with 66 additions and 20 deletions

View File

@ -25,7 +25,7 @@ void define_var_cluster_finder_bindings(py::module &m) {
.def(py::init<Shape<2>, double>())
.def("labeled",
[](VarClusterFinder<double> &self) {
auto ptr = new NDArray<int, 2>(self.labeled());
auto *ptr = new NDArray<int, 2>(self.labeled());
return return_image_data(ptr);
})
.def("set_noiseMap",