Skip to content
New issue

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

Specialize zeros/ones/fill for SOneTo #1234

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Jan 24, 2024

After this,

julia> zeros(SOneTo(4))
4-element SVector{4, Float64} with indices SOneTo(4):
 0.0
 0.0
 0.0
 0.0

and similarly, ones and fill also return SArrays.

@jishnub
Copy link
Member Author

jishnub commented Jan 24, 2024

Test failure on nightly is unrelated

src/abstractarray.jl Outdated Show resolved Hide resolved
@mateuszbaran mateuszbaran merged commit a8fd370 into JuliaArrays:master Jan 29, 2024
22 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants