From eaa7e0c78a016359d67a31de64a27cdc068fdef7 Mon Sep 17 00:00:00 2001 From: Bruno Blais Date: Mon, 24 Jan 2022 09:49:54 -0500 Subject: [PATCH] Fix tolerance because particles are still lost --- source/particles/particle_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc index 1d7a9b703d..d6120e0626 100644 --- a/source/particles/particle_handler.cc +++ b/source/particles/particle_handler.cc @@ -1376,7 +1376,7 @@ namespace Particles reference_locations); if (GeometryInfo::is_inside_unit_cell( - reference_locations[0])) + reference_locations[0]),1e-12) { current_cell = *cell; found_cell = true; -- 2.39.5