JuliaArrays / JuliaArrays/StaticArrays.jl
SVector{N,T} only accept Int64 but not Int32
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 844
- Forks
- 159
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
Maybe Tuple{Vararg{Union{StaticArraysCore.Dynamic, Int64}}} can be changed to Tuple{Vararg{Union{StaticArraysCore.Dynamic, Integer}}}? When I use C API, all integers are Cint, i.e. Int32, which requires extra type conversion.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search for the SVector{N,T} definition and the Tuple{Vararg{Union{StaticArraysCore.Dynamic, Int64}}} type expression mentioned in the issue. Verify the behavior with Cint/Int32 inputs and existing integer inputs; done means Int32 is accepted without an extra conversion while current behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100