Skip to content

Commit 5abce29

Browse files
authored
Add a DiskIndex constructor to fix 32bit systems (#201)
1 parent 1f1f075 commit 5abce29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/diskarray.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ end
9090
(a.data_indices...,b.data_indices...),
9191
)
9292
end
93+
DiskIndex(output_size::NTuple{N,<:Integer},temparray_size::NTuple{M,<:Integer},
94+
output_indices::Tuple,temparray_indices::Tuple,data_indices::Tuple) where {N, M} =
95+
DiskIndex(Int.(output_size),Int.(temparray_size),output_indices,temparray_indices,data_indices)
9396

9497
function _resolve_indices(cs, i, indices_pre::DiskIndex, nb::ChunkStrategy)
9598
inow = first(i)

0 commit comments

Comments
 (0)