mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Apply suggestions from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
c60a7e569f
commit
5066bfa42d
4 changed files with 10 additions and 13 deletions
|
|
@ -28,7 +28,7 @@ int64_t fission_bank_max;
|
|||
void free_memory_bank()
|
||||
{
|
||||
simulation::source_bank.clear();
|
||||
if( simulation::fission_bank != nullptr )
|
||||
if (simulation::fission_bank)
|
||||
delete[] simulation::fission_bank;
|
||||
simulation::fission_bank = nullptr;
|
||||
simulation::fission_bank_length = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue