From c8ef18138b904b9bbb8eb0246463edc121f3088e Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Fri, 26 Jul 2024 19:13:05 -0400 Subject: [PATCH] fix true-SDC compilation due to namespace changes in Microphysics (#2932) --- Source/sdc/sdc_react_util.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/sdc/sdc_react_util.H b/Source/sdc/sdc_react_util.H index dffd1dd1f0..b174dd8d03 100644 --- a/Source/sdc/sdc_react_util.H +++ b/Source/sdc/sdc_react_util.H @@ -35,7 +35,7 @@ single_zone_react_source(burn_t& burn_state, eos(eos_input_re, burn_state); // eos_get_small_temp(&small_temp); - burn_state.T = amrex::min(MAX_TEMP, amrex::max(burn_state.T, small_temp)); + burn_state.T = std::clamp(burn_state.T, small_temp, integrator_rp::MAX_TEMP); Array1D ydot;