Skip to content

Commit

Permalink
Fix incorrect argument in unit test, caught by spiner update.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanWollaeger committed Jan 29, 2025
1 parent 65db5ae commit 3a9e9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mean_opacities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3a9e9a1

Please sign in to comment.