]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix another test (particles/generators_07) 10540/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 7 Jul 2020 14:18:31 +0000 (16:18 +0200)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 7 Jul 2020 14:18:31 +0000 (16:18 +0200)
source/grid/grid_tools.cc

index fdf7bb6e580b780668606d33a2fe27842a671338..5b005fee6a485c575407a284cfaab3bdc42617e2 100644 (file)
@@ -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,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.