Some updates from self-review.

This commit is contained in:
Patrick Shriwise 2021-04-23 11:08:48 -05:00
parent 9874004e94
commit 3d8c6a9f4b
7 changed files with 11 additions and 14 deletions

View file

@ -115,9 +115,8 @@ find_cell_inner(Particle& p, const NeighborList* neighbor_list)
const auto& univ {model::universes[i_universe]};
found = univ->find_cell(p);
}
if (!found) {
return found;
}
if (!found) { return found; }
i_cell = p.coord_[p.n_coord_ - 1].cell;
// Announce the cell that the particle is entering.