You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's an interesting corner case, and I can't think of a quick fix. Perhaps we need to relax the type signatures of IdDffsetRange so that the offsets may be signed. Unfortunately, this will need to be benchmarked quite a bit, so it'll take a while to get added. If you have the time, and you're familiar with the package, please feel free to make a PR
denius
changed the title
Can't create and can't show OA(SparseVector{Float64, UInt}, 0:(n-1))IdOffsetRange(0x01:0x03, -1) -- corner case for zero-based Unsigned indices: OA(SparseVector{Float64, UInt}, 0:(n-1))Jan 11, 2023
Hello,
It is a strange issue or maybe I'm missing something. Is it issue of
SparseArrays
orOffsetArrays
?With
UInt64
can't createOffsetArray(SparseVector{Float64, UInt64}, 0:2)
, MWE:With
UInt32
OffsetArray
created, but can't display it in REPL:Environment:
julia> versioninfo() Julia Version 1.8.5 Commit 17cfb8e65e (2023-01-08 06:45 UTC) Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 24 × Intel(R) Xeon(R) Gold 6146 CPU @ 3.20GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512) Threads: 8 on 24 virtual cores Environment: JULIA_NUM_THREADS = 8 JULIA_CUDA_USE_BINARYBUILDER = false
Thanks.
The text was updated successfully, but these errors were encountered: