Skip to content

Commit 8aef1db

Browse files
committed
bugfix for gpu compatibility
1 parent f450a5a commit 8aef1db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parameterized_tendencies/microphysics/microphysics_wrappers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ function aerosol_activation_sources(
471471
return ifelse(
472472
S_max < S || isnan(n_act) || n_act < nₗ,
473473
FT(0),
474-
(n_act - nₗ) / dt,
474+
(n_act - nₗ) / float(dt),
475475
)
476476
end
477477

0 commit comments

Comments
 (0)