Skip to content

Commit

Permalink
Merge pull request #2832 from CliMA/ck/unroll
Browse files Browse the repository at this point in the history
Use unrolled_dot_product to fix inference
  • Loading branch information
charleskawczynski authored Mar 22, 2024
2 parents fa445fe + 55bf9c1 commit ba14896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/diagnostic_edmf_precomputed_quantities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function set_diagnostic_edmfx_env_quantities_level!(
)
@. u³⁰_halflevel = divide_by_ρa(
ρ_level * u³_halflevel -
mapreduce_with_init(*, +, ρaʲs_level, u³ʲs_halflevel),
unrolled_dotproduct(ρaʲs_level, u³ʲs_halflevel),
ρ_level,
ρ_level * u³_halflevel,
ρ_level,
Expand Down

0 comments on commit ba14896

Please sign in to comment.