Skip to content

Commit

Permalink
Try tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
trontrytel committed Nov 22, 2024
1 parent 1a87cb0 commit 35a4856
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cache/sedimentation_precomputed_quantities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ function set_sedimentation_precomputed_quantities!(Y, p, t)

# compute the precipitation terminal velocity [m/s]
@. ᶜwₗ = CMNe.terminal_velocity(
$(Ref(cmc.liquid)),
$(Ref(cmc.Ch2022.rain)),
$(tuple(cmc.liquid)),
$(tuple(cmc.Ch2022.rain)),
Y.c.ρ,
max(0, Y.c.ρq_liq / Y.c.ρ),
)
@. ᶜwᵢ = CMNe.terminal_velocity(
$(Ref(cmc.ice)),
$(Ref(cmc.Ch2022.small_ice)),
$(tuple(cmc.ice)),
$(tuple(cmc.Ch2022.small_ice)),
Y.c.ρ,
max(0, Y.c.ρq_ice / Y.c.ρ),
)
Expand Down

0 comments on commit 35a4856

Please sign in to comment.