mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Make sure find_cell returns false when no cell is found
This commit is contained in:
parent
6a739abe52
commit
8b55751d51
1 changed files with 2 additions and 0 deletions
|
|
@ -243,6 +243,8 @@ find_cell(Particle* p, int search_surf) {
|
|||
return find_cell(p, 0);
|
||||
}
|
||||
}
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue