diff --git a/src/radiation/radiation_system.hpp b/src/radiation/radiation_system.hpp index 8c5b2ef7f..816d3f77f 100644 --- a/src/radiation/radiation_system.hpp +++ b/src/radiation/radiation_system.hpp @@ -1455,7 +1455,6 @@ AMREX_GPU_DEVICE auto RadSystem::ComputeDustTemperatureBateKeto(doubl double dLHS_dTd = NAN; if constexpr (nGroups_ == 1) { - const auto kappaE = ComputeEnergyMeanOpacity(rho, T_d); const auto kappaP = ComputePlanckOpacity(rho, T_d); const auto d_fourpib_over_c_d_t = ComputeThermalRadiationTempDerivativeSingleGroup(T_d); dLHS_dTd = -c_hat_ * dt * rho * (kappaP * d_fourpib_over_c_d_t) - N_d * std::sqrt(T_gas);