From 1fa9822859bc7d355e20180f15609a52785e6176 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Fri, 13 Oct 2023 17:25:22 +0200 Subject: [PATCH] Use configurable KDTree geometry in PointCloud --- src/atlas/functionspace/PointCloud.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/functionspace/PointCloud.cc b/src/atlas/functionspace/PointCloud.cc index 4083d60d1..61388a2f5 100644 --- a/src/atlas/functionspace/PointCloud.cc +++ b/src/atlas/functionspace/PointCloud.cc @@ -207,7 +207,7 @@ PointCloud::PointCloud(const Grid& grid, const grid::Partitioner& _partitioner, owned_lonlat.reserve(size_owned); owned_grid_idx.reserve(size_owned); - auto kdtree = util::IndexKDTree(); + auto kdtree = util::IndexKDTree(config); { ATLAS_TRACE("build kdtree"); kdtree.reserve(grid.size());