Skip to content

Commit

Permalink
Update tolerance for checking rad. equil. (single precision was failing)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPincus committed Apr 19, 2024
1 parent 0cd245a commit 5842bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rte_lw_solver_unit_tests.F90
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function check_gray_rad_equil(sfc_T, lw_tau, top_at_1, up_flux, net_flux)
!
if(.not. allclose(net_flux(:,:), &
spread(net_flux(:,1), dim=2, ncopies=size(net_flux,2)), &
tol = 70._wp)) then
tol = 100._wp)) then
call report_err("Net flux not constant with tau in gray radiative equilibrium")
check_gray_rad_equil = .false.
end if
Expand Down

0 comments on commit 5842bd2

Please sign in to comment.