We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base.OneTo(::StaticInt)
Hi, I just noticed this, thought you'd want to know:
julia> eltype(Base.OneTo(static(3))) StaticInt{3}
This fixes it:
julia> Base.eltype(::Base.OneTo{StaticInt{N}}) where {N} = Int julia> eltype(Base.OneTo(static(3))) Int64
The text was updated successfully, but these errors were encountered:
Mind making a PR?
Sorry, something went wrong.
Ok, I started one. Not sure yet what's going on with the type error though
Successfully merging a pull request may close this issue.
Hi, I just noticed this, thought you'd want to know:
This fixes it:
The text was updated successfully, but these errors were encountered: