Skip to content

Commit

Permalink
fix loopchunks
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart committed Mar 7, 2022
1 parent 0a5f6a2 commit 5ec836f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DAT/DAT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,8 @@ function generateOutCube(
kwargs...,
) where {T}
cs_inner = (map(length, oc.axesSmall)...,)
cs = (cs_inner..., approx_chunksize.(loopcachesize)...)
co = (map(_->0, oc.axesSmall)...,grid_offset.(loopcachesize)...)
cs = (cs_inner..., loopcachesize...)
co = (map(_->0, oc.axesSmall)...,co...)
for (i, cc) in enumerate(oc.innerchunks)
if cc !== nothing && i <= length(oc.axesSmall)
cs = Base.setindex(cs, approx_chunksize(cc), i)
Expand Down

0 comments on commit 5ec836f

Please sign in to comment.