From: Niklas Fehn Date: Tue, 7 Jul 2020 14:18:31 +0000 (+0200) Subject: fix another test (particles/generators_07) X-Git-Tag: v9.3.0-rc1~1315^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123a295a21f6b40cf9c185f505c4aeef830996aa;p=dealii.git fix another test (particles/generators_07) --- diff --git a/source/grid/grid_tools.cc b/source/grid/grid_tools.cc index fdf7bb6e58..5b005fee6a 100644 --- a/source/grid/grid_tools.cc +++ b/source/grid/grid_tools.cc @@ -4623,7 +4623,10 @@ namespace GridTools break; } catch (...) - {} + { + if (counter == n_points) + return cell_qpoint_map; + } auto last_cell = cell_qpoint_map.emplace(std::make_pair( point_and_reference_location.first,