Skip to content

Commit

Permalink
CLIMAParameter typos
Browse files Browse the repository at this point in the history
  • Loading branch information
amylu00 committed Jan 26, 2024
1 parent 94a2ea6 commit 1172f6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/parameters/AerosolFerrihydrite.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Ferrihydrite(
) where {FT}
(; data) = toml_dict
return Ferrihydrite(
FT(data["Alpert2022_J_deposition_m_Ferrihydrate"]["value"]),
FT(data["Alpert2022_J_deposition_c_Ferrihydrate"]["value"]),
FT(data["Alpert2022_J_deposition_m_Ferrihydrite"]["value"]),
FT(data["Alpert2022_J_deposition_c_Ferrihydrite"]["value"]),
)
end
6 changes: 3 additions & 3 deletions test/gpu_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -849,9 +849,9 @@ function test_gpu(FT)
kernel!(output, kaolinite, feldspar, ferrihydrite, Delta_a_w; ndrange)

# test if deposition_J is callable and returns reasonable values
@test Array(output)[1] FT(153.65772539109)
@test Array(output)[2] FT(31.870032033791)
@test Array(output)[3] FT(31.870032033791)
@test Array(output)[1] FT(4.2565721578929405e10)
@test Array(output)[2] FT(5.693312205851678e6)
@test Array(output)[3] FT(802555.3607426438)

dims = (1, 2)
(; output, ndrange) = setup_output(dims, FT)
Expand Down

0 comments on commit 1172f6b

Please sign in to comment.