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

fix Base.similar for VectorOfArray of AbstractArray{<:StaticArray} #420

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

jlchan
Copy link
Contributor

@jlchan jlchan commented Feb 3, 2025

Fixes Base.similar for VectorOfArray of AbstractArray{<:AbstractArray} types. Previously, Base.similar on VectorOfArray{Array{SVector}} would return VectorOfArray{Array{MVector}}.

This hopefully will resolve SciML/DiffEqBase.jl#1110

@jlchan jlchan changed the title remove broadcast in Base.similar for VectorOfArray fix Base.similar for VectorOfArray of AbstractArray{<:StaticArray} Feb 3, 2025
@jlchan jlchan marked this pull request as ready for review February 4, 2025 14:43
@jlchan
Copy link
Contributor Author

jlchan commented Feb 4, 2025

CI failures appear to be spurious based on #421.

@ChrisRackauckas ChrisRackauckas merged commit 8034cbc into SciML:master Feb 4, 2025
17 of 27 checks passed
@jlchan
Copy link
Contributor Author

jlchan commented Feb 4, 2025

Thanks!

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.

SplitODEProblem and VectorOfArray of Vector{SVector} causes error during solve
2 participants