mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Merge pull request #1063 from paulromano/find-cell-bugfix
Make sure find_cell returns false when no cell is found
This commit is contained in:
commit
bab5162f0b
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