Skip to content

Commit

Permalink
Merge pull request #441 from briochemc/patch-1
Browse files Browse the repository at this point in the history
Fix rebuild
  • Loading branch information
lazarusA authored Sep 19, 2024
2 parents 4a85fa4 + 775ce9c commit b4b08dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cubes/Cubes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function DD.rebuild(A::YAXArray, data::AbstractArray, dims::Tuple, refdims::Tupl
#end
YAXArray(dims, data, metadata; cleaner=A.cleaner)#, chunks=GridChunks(chunks))
end
function DD.rebuild(A::YAXArray; data=parent(A), dims=dims(A), metadata=DD.metadata(A), kw...)
function DD.rebuild(A::YAXArray; data=parent(A), dims=DD.dims(A), metadata=DD.metadata(A), kw...)
YAXArray(dims, data, metadata; cleaner=A.cleaner)
end

Expand Down

0 comments on commit b4b08dd

Please sign in to comment.