From b1e83cd1805f960107eb4ed51be43ca1fcbef270 Mon Sep 17 00:00:00 2001 From: carlnotsagan Date: Tue, 7 Nov 2023 12:06:04 -0700 Subject: [PATCH] fix bool typo, compile fails --- src/phoebus_driver.cpp | 2 +- src/radiation/cooling_function.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/phoebus_driver.cpp b/src/phoebus_driver.cpp index 2e406fcf..2bd375d3 100644 --- a/src/phoebus_driver.cpp +++ b/src/phoebus_driver.cpp @@ -685,7 +685,7 @@ TaskListStatus PhoebusDriver::RadiationPostStep() { parthenon::AllReduce *pdo_gain_reducer; bool do_lightbulb = rad->Param("do_lightbulb"); if (do_lightbulb) { - pdo_gain_reducer = rad->MutableParam>("do_gain_reducer"); + pdo_gain_reducer = rad->MutableParam("do_gain_reducer"); } TaskRegion &async_region = tc.AddRegion(num_independent_task_lists); for (int ib = 0; ib < num_independent_task_lists; ib++) { diff --git a/src/radiation/cooling_function.cpp b/src/radiation/cooling_function.cpp index bd47ddbe..a2302a84 100644 --- a/src/radiation/cooling_function.cpp +++ b/src/radiation/cooling_function.cpp @@ -175,7 +175,7 @@ TaskStatus CoolingFunctionCalculateFourForce(MeshBlockData *rc, const doub singularity::StellarCollapse eos_sc = eos.GetUnmodifiedObject().get(); const parthenon::AllReduce *pdo_gain_reducer = - rad->MutableParam>("do_gain_reducer"); + rad->MutableParam("do_gain_reducer"); const bool do_gain = pdo_gain_reducer->val; parthenon::par_for( DEFAULT_LOOP_PATTERN, "CoolingFunctionCalculateFourForce", DevExecSpace(), kb.s,