Skip to content

Commit 287648a

Browse files
committed
actually implement parent properly
1 parent 468dcc2 commit 287648a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/variable.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Base.setindex!(v::ZarrVariable,data,ij::Union{Integer,Colon,AbstractVec
44
parent(v)[ij...] = data
55
end
66
Base.size(v::ZarrVariable) = size(parent(v))
7-
Base.parent(v::ZarrVariable) = parent(v)
7+
Base.parent(v::ZarrVariable) = v.zarray
88

99

1010
CDM.load!(v::ZarrVariable,buffer,ij...) = buffer .= view(parent(v),ij...)

0 commit comments

Comments
 (0)