-
Notifications
You must be signed in to change notification settings - Fork 41
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
zero(u::StructArray)
broken in Julia v1.8.0-rc1
#230
Comments
To be honest, #218 can probably be merged already. The minor issue that's holding me back is that IMO ideally On the other hand, getting that right seems extremely brittle, as StructArrays should mimic the exact dispatches that OffsetArrays is using. But maybe it's not so bad. D you know if one can rely on the exact dispatch chosen by OffsetArrays (ie cc: @timholy (esp. on how to intercept the OffsetArrays fallback for similar with |
Thanks a lot! Sorry, I do not know a lot about the internals of OffsetArrays.jl. |
Is this a major blocking issue, @piever, or just something that would be nice to have and could also be changed/implemented later? If the latter is the case, I would be very happy to see #218 merged soon to let use test Julia v1.8.0-rc1 with Trixi.jl. |
Changing it is (very slightly) breaking, so I would like to avoid tweaking this too many times. That being said, #218 now implements it correctly, so if there is no further feedback in the next couple of days I'll go ahead and merge and tag a release. |
Thanks a lot, @piever! |
Fixed by #218 |
Thanks a lot! |
The generic fallback changed from
in Julia v1.7.3 to
in Julia v1.8.0-rc1. This means that we had
in Julia v1.7 but get
in Julia v1.8.0-rc1. This breaks a lot of code, for example in Trixi.jl relying on OrdinaryDiffEq.jl, see https://github.com/trixi-framework/Trixi.jl/runs/6830499545?check_suite_focus=true#step:6:244.
To fix this, it would be great if #218 or #94 were finished. Is there anything I can do to help you with that?
The text was updated successfully, but these errors were encountered: