]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update source/particles/particle_handler.cc
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 17 May 2021 20:29:26 +0000 (16:29 -0400)
committerGitHub <noreply@github.com>
Mon, 17 May 2021 20:29:26 +0000 (16:29 -0400)
Co-authored-by: Marc Fehling <mafehling.git@gmail.com>
source/particles/particle_handler.cc

index cbc3f868e77ff783182d744e542565b97417e427..629c63804ac6eec74de0e3f8f884a1e3b2d6c50c 100644 (file)
@@ -448,7 +448,7 @@ namespace Particles
     auto &missing_points  = std::get<3>(point_locations);
     // If a point was not found, throwing an error, as the old
     // implementation of compute_point_locations would have done
-    AssertThrow(std::get<3>(point_locations).size() == 0,
+    AssertThrow(missing_points.size() == 0,
                 VectorTools::ExcPointNotAvailableHere());
 
     (void)missing_points;

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.