Adjust setting of boolean variable "b"

Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
davidjohnlong 2020-03-12 08:00:13 +00:00 committed by GitHub
parent edb9cbc69f
commit f61fad5f75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;