-
-
Notifications
You must be signed in to change notification settings - Fork 60
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 broadcast assignment for VectorOfArray
with StructArrays
#426
Fix broadcast assignment for VectorOfArray
with StructArrays
#426
Conversation
@ChrisRackauckas do you know if the integration CI failures are spurious? The error messages don't appear to involve |
Spurious, I need to work through those. |
Could you please add some tests to OrdinaryDiffEq.jl to make sure that this does not regress again? |
Sure, do you mean downstream tests in RecursiveArrayTools? |
Or just regular tests in OrdinaryDiffEq.jl |
@ranocha, how do I add StructArrays.jl to the list of OrdinaryDiffEq.jl test dependencies? |
I’m not exactly sure what it means, but if it’s something like running tests with a specific dependency, you can try something like here https://github.com/trixi-framework/Trixi.jl/blob/main/.github/workflows/downstream.yml. In other words, treat StructArrays.jl as a downstream package, so you won’t have to add StructArrays.jl directly to OrdinaryDiffEq.jl, which would otherwise make it heavy. @jlchan |
You can add the package to the |
What is the difference between running tests through a Project.toml file and running them via a .github workflow? @ranocha |
The tests will be run via a GitHub workflow, but the test dependencies need to be specified in a Project.toml file. |
Attempt 2 to address SciML/OrdinaryDiffEq.jl#2625 (comment). I just applied the same approach taken in #425 for
setindex!
to broadcastedBase.copyto!
.I've verified that this also fixes the discrepancy in number of time-steps taken by an adaptive solver. The following MWE now results in the same number of accepted time-steps under this PR.