Skip to content

Commit e01d02f

Browse files
Julians42szy21
andauthored
Apply suggestions from code review
Co-authored-by: Zhaoyi Shen <11598433+szy21@users.noreply.github.com>
1 parent 73da312 commit e01d02f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cache/cloud_fraction.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ function set_ml_cloud_fraction!(
325325
ᶜmixing_length_field,
326326
ᶜ∇q,
327327
ᶜ∇θ,
328-
Y.c.ρq_tot,
329-
Y.c.ρ,
328+
specific.(Y.c.ρq_tot, Y.c.ρ),
330329
ᶜts,
331330
thermo_params,
332331
)
@@ -337,8 +336,7 @@ function compute_ml_cloud_fraction(
337336
ᶜmixing_length_field,
338337
ᶜ∇q,
339338
ᶜ∇θ,
340-
ρq_tot,
341-
ρ,
339+
q_tot
342340
ᶜts,
343341
thermo_params,
344342
)

0 commit comments

Comments
 (0)