From 65db5ae7ddb57d3ae1e4e2078e598c97e4237bf0 Mon Sep 17 00:00:00 2001 From: Ryan Thomas Wollaeger Date: Wed, 29 Jan 2025 11:07:58 -0700 Subject: [PATCH 1/2] Update spiner submodule, to get new DataBox interpToReal overload. --- utils/spiner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/spiner b/utils/spiner index bd57161..d355593 160000 --- a/utils/spiner +++ b/utils/spiner @@ -1 +1 @@ -Subproject commit bd57161576a62a13341dada183f2b336a3e99b08 +Subproject commit d35559345acfa250814f284147b260ac4d2ea7b5 From 3a9e9a198d2cbd873f640a265d558295a1f2a1ef Mon Sep 17 00:00:00 2001 From: Ryan Thomas Wollaeger Date: Wed, 29 Jan 2025 11:50:21 -0700 Subject: [PATCH 2/2] 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) {