CliMA / CliMA/ClimaCore.jl

Vectors don't seem to support brodcasting

Open
#1,451 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
117
Forks
19
Avg merge
3d 8h
Merged PRs (30d)
38

Description

The following example from `ClimaAtmos` returns an error
```julia
a = Geometry.UVector.(integrator.p.ᶜu)
max.(a,a)
```
I am not sure if I am doing something wrong, but the same code works for scalars.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the ClimaAtmos example with Geometry.UVector and max.(a, a), then inspect the broadcasting behavior for UVector values. Done means the vector expression works consistently with the scalar case without raising the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.