From 551833b6c99873e6f111bfa93edeccb225eea65c Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Thu, 21 May 2020 16:50:37 -0700 Subject: [PATCH] Fix a missing mapping argument --- source/grid/grid_tools.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index ce8fb651a4..1a6e15bd09 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -1638,8 +1638,8 @@ namespace GridTools } else { - closest_vertex_index = - GridTools::find_closest_vertex(mesh, p, marked_vertices); + closest_vertex_index = GridTools::find_closest_vertex( + mapping, mesh, p, marked_vertices); } vertex_to_point = p - mesh.get_vertices()[closest_vertex_index]; } -- 2.39.5