mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Apply suggestions from code review
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
5f2961cd55
commit
d8e4535d51
1 changed files with 1 additions and 1 deletions
|
|
@ -1256,7 +1256,7 @@ Cell::find_parent_cells(vector<ParentCell>& parent_cells, int32_t instance) cons
|
|||
while (true) {
|
||||
// find the next lattice cell with this universe
|
||||
lat_it = std::find(lat_it, lattice_univs.end(), univ_idx);
|
||||
if (lat_it >= lattice_univs.end()) break;
|
||||
if (lat_it == lattice_univs.end()) break;
|
||||
|
||||
int lattice_idx = lat_it - lattice_univs.begin();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue