Skip to content

Commit

Permalink
Add a DiskIndex constructor to fix 32bit systems (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart authored Oct 23, 2024
1 parent 1f1f075 commit 5abce29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/diskarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ end
(a.data_indices...,b.data_indices...),
)
end
DiskIndex(output_size::NTuple{N,<:Integer},temparray_size::NTuple{M,<:Integer},
output_indices::Tuple,temparray_indices::Tuple,data_indices::Tuple) where {N, M} =
DiskIndex(Int.(output_size),Int.(temparray_size),output_indices,temparray_indices,data_indices)

function _resolve_indices(cs, i, indices_pre::DiskIndex, nb::ChunkStrategy)
inow = first(i)
Expand Down

0 comments on commit 5abce29

Please sign in to comment.