CliMA / Thermodynamics.jl

A package containing a library of moist thermodynamic relations.
https://clima.github.io/Thermodynamics.jl/dev/
Apache License 2.0
61 stars 2 forks source link

Add more promotion and remove restriction on SA tolerance #201

Closed dennisYatunin closed 7 months ago

dennisYatunin commented 7 months ago

Small followup to #200. Adds an additional promotion method (for latent_heat_generic) and removes type restrictions on the tolerance for saturation adjustment (eps(::Dual) returns a Float32 or Float64, not a Dual).

codecov[bot] commented 7 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (16b1f86) 91.00% compared to head (56762c9) 90.93%.

Files Patch % Lines
src/relations.jl 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #201 +/- ## ========================================== - Coverage 91.00% 90.93% -0.08% ========================================== Files 10 10 Lines 1179 1180 +1 ========================================== Hits 1073 1073 - Misses 106 107 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.