From 9619172eefb32f3a4ce614e9b580dd3e2662768a Mon Sep 17 00:00:00 2001 From: Florian Weik Date: Sat, 8 Dec 2018 03:08:18 +0100 Subject: [PATCH] Cleanup --- src/core/particle_data.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/particle_data.cpp b/src/core/particle_data.cpp index db9e0a92bb6..71f8c750971 100644 --- a/src/core/particle_data.cpp +++ b/src/core/particle_data.cpp @@ -884,10 +884,6 @@ void local_remove_particle(int part) { std::tie(cell, n) = find_particle(p, local_cells); } - if (not cell) { - std::tie(cell, n) = find_particle(p, ghost_cells); - } - assert(cell); Particle p_destroy = extract_indexed_particle(cell, n);