mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Adjust setting of boolean variable "b"
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
edb9cbc69f
commit
f61fad5f75
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ void finalize_batch()
|
|||
&& !settings::cmfd_run) {
|
||||
if (contains(settings::sourcepoint_batch, simulation::current_batch)
|
||||
&& settings::source_write && !settings::source_separate) {
|
||||
bool b = (settings::run_mode == RunMode::EIGENVALUE) ? true : false;
|
||||
bool b = (settings::run_mode == RunMode::EIGENVALUE);
|
||||
openmc_statepoint_write(nullptr, &b);
|
||||
} else {
|
||||
bool b = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue