From f61fad5f75198a2213a1ed3b276bac222ccfb0d9 Mon Sep 17 00:00:00 2001 From: davidjohnlong <59730407+davidjohnlong@users.noreply.github.com> Date: Thu, 12 Mar 2020 08:00:13 +0000 Subject: [PATCH] Adjust setting of boolean variable "b" Co-Authored-By: Paul Romano --- src/simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation.cpp b/src/simulation.cpp index 5b3ad7aef7..89a0758a1f 100644 --- a/src/simulation.cpp +++ b/src/simulation.cpp @@ -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;