From 3a9e9a198d2cbd873f640a265d558295a1f2a1ef Mon Sep 17 00:00:00 2001 From: Ryan Thomas Wollaeger Date: Wed, 29 Jan 2025 11:50:21 -0700 Subject: [PATCH] Fix incorrect argument in unit test, caught by spiner update. --- test/test_mean_opacities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_mean_opacities.cpp b/test/test_mean_opacities.cpp index ba1d371..0e036c7 100644 --- a/test/test_mean_opacities.cpp +++ b/test/test_mean_opacities.cpp @@ -832,7 +832,7 @@ TEST_CASE("ASCII-parsed Mean photon opacities", "[MeanPhotons]") { Real B = dist.ThermalDistributionOfT(temp_max, lambda); Real memiss_ross = mean_opac.Emissivity(rho_max, temp_max, 0); - Real memiss_plnk = mean_opac.Emissivity(rho_max, temp_max, 0); + Real memiss_plnk = mean_opac.Emissivity(rho_max, temp_max, 1); // compare to Rossland and Planck if (FractionalDifference(mross * B, memiss_ross) > EPS_TEST) {