From: Daniel Arndt Date: Mon, 17 May 2021 20:29:26 +0000 (-0400) Subject: Update source/particles/particle_handler.cc X-Git-Tag: v9.3.0-rc1~36^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbea261d26a5da1ec00589c4df29be122f53289f;p=dealii.git Update source/particles/particle_handler.cc Co-authored-by: Marc Fehling --- diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index cbc3f868e7..629c63804a 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -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;