From 244aa95d7f04e61318825d5fa3215ad9964c485b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 26 Feb 2019 11:29:02 +0100 Subject: [PATCH] Define GridTools::Cache::get_covering_rtree also without nanoflann support --- source/grid/grid_tools_cache.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/grid/grid_tools_cache.cc b/source/grid/grid_tools_cache.cc index 739ea04bda..52f664b01a 100644 --- a/source/grid/grid_tools_cache.cc +++ b/source/grid/grid_tools_cache.cc @@ -140,6 +140,8 @@ namespace GridTools return cell_bounding_boxes_rtree; } + + #ifdef DEAL_II_WITH_NANOFLANN template const KDTree & @@ -152,6 +154,7 @@ namespace GridTools } return vertex_kdtree; } +#endif @@ -187,7 +190,6 @@ namespace GridTools return covering_rtree; } -#endif #include "grid_tools_cache.inst" -- 2.39.5