@@ -146,8 +146,9 @@ void implement_rtree_4d_methods(nb::class_<RTree4D<T>>& cls) {
146146 const Eigen::Ref<const typename RTree4D<T>::CoordinateMatrix>&
147147 coordinates,
148148 const Eigen::Ref<const typename RTree4D<T>::ValueVector>& values,
149- const Eigen::Ref<const typename RTree4D<T>::ValueVector>&
150- sigma2) { self.packing (coordinates, values, sigma2); },
149+ const Eigen::Ref<const typename RTree4D<T>::ValueVector>& sigma2) {
150+ self.packing (coordinates, values, sigma2);
151+ },
151152 nb::arg (" coordinates" ), nb::arg (" values" ), nb::arg (" sigma2" ),
152153 kPackingDoc , nb::call_guard<nb::gil_scoped_release>())
153154 .def (
@@ -156,8 +157,9 @@ void implement_rtree_4d_methods(nb::class_<RTree4D<T>>& cls) {
156157 const Eigen::Ref<const typename RTree4D<T>::CoordinateMatrix>&
157158 coordinates,
158159 const Eigen::Ref<const typename RTree4D<T>::ValueVector>& values,
159- const Eigen::Ref<const typename RTree4D<T>::ValueVector>&
160- sigma2) { self.insert (coordinates, values, sigma2); },
160+ const Eigen::Ref<const typename RTree4D<T>::ValueVector>& sigma2) {
161+ self.insert (coordinates, values, sigma2);
162+ },
161163 nb::arg (" coordinates" ), nb::arg (" values" ), nb::arg (" sigma2" ),
162164 kInsertDoc , nb::call_guard<nb::gil_scoped_release>())
163165 .def (
@@ -200,8 +202,8 @@ void implement_rtree_4d_methods(nb::class_<RTree4D<T>>& cls) {
200202
201203template <typename T>
202204void init_rtree_4d_impl (nb::module_& m, std::string_view suffix) {
203- auto cls = nb::class_<RTree4D<T>>(
204- m, std::format ( " RTree4D{} " , suffix). c_str (), kRTree4DDoc );
205+ auto cls = nb::class_<RTree4D<T>>(m, std::format ( " RTree4D{} " , suffix). c_str (),
206+ kRTree4DDoc );
205207 cls.def (nb::init<>(), " Initialize a fresh 4D Cartesian R-tree." ,
206208 nb::call_guard<nb::gil_scoped_release>());
207209 implement_rtree_4d_methods (cls);
0 commit comments