File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ function merge_chunks(csnow, n)
108
108
# Update positions in each list of chunks
109
109
chpos = newchpos .+ 1
110
110
# If this is the last chunk, break
111
- chpos[1 ] >= length (firstcs) && break
111
+ chpos[1 ] > length (firstcs) && break
112
112
# Add our new offset
113
113
push! (chunk_offsets, newchunkoffset)
114
114
end
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Base.size(a::AccessCountDiskArray) = size(a.parent)
29
29
30
30
# Apply the all in one macro rather than inheriting
31
31
32
- DiskArrays. haschunks (:: AccessCountDiskArray ) = DiskArrays. Chunked ()
32
+ DiskArrays. haschunks (a :: AccessCountDiskArray ) = DiskArrays. Chunked (a . batchstrategy )
33
33
DiskArrays. eachchunk (a:: AccessCountDiskArray ) = DiskArrays. GridChunks (a, a. chunksize)
34
34
function DiskArrays. readblock! (a:: AccessCountDiskArray , aout, i:: OrdinalRange... )
35
35
ndims (a) == length (i) || error (" Number of indices is not correct" )
You can’t perform that action at this time.
0 commit comments