You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The field2array error when the field is not a field of scalars is inaccurate.
julia> ClimaCore.Fields.field2array(ClimaCore.Fields.fill((1.0, 2.0), ClimaCore.Spaces.PointSpace(ClimaCore.Geometry.YPoint(0.5))))
ERROR: unable to use field2array because each Field element is represented by 0 array elements (must be 1)
Stacktrace:
I think this is caused by
f_axis_size = sizeof(eltype(parent(field))) ÷ sizeof(eltype(field))
error("unable to use field2array because each Field element is \
represented by $f_axis_size array elements (must be 1)")
The
field2array
error when the field is not a field of scalars is inaccurate.I think this is caused by
which should be
The text was updated successfully, but these errors were encountered: