Skip to content

Commit 06ab098

Browse files
committed
Tair to Float Esat_from_Tair test
1 parent fd470b5 commit 06ab098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit_conversions_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Bigleaf, Test
22

33
@testset "Esat_from_Tair" begin
4-
Tair = 15
4+
Tair = 15.0
55
Esat_formula=Sonntag1990()
66
constants=BigleafConstants()
77
eSat = Esat_from_Tair(Tair; Esat_formula, constants)
@@ -25,7 +25,7 @@ end
2525
constants=BigleafConstants()
2626
Esat = Esat_from_Tair.(Tair)
2727
delta = Esat_from_Tair_deriv.(Tair)
28-
delta2 = diff(Esat)/step
28+
delta2 = diff(Esat)/step
2929
@test all(isapprox.(delta[2:end] - delta2, 0, atol=1e-3))
3030
Esat3, delta3 = Esat_slope(Tair[1])
3131
@test Esat3 Esat[1]

0 commit comments

Comments
 (0)