You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using OffsetArrays: Origin
using OrdinaryDiffEq
using Static: True
A = rand(10, 10)
A = (A - A')
f!(du, u, p, t) = begin
A = p.A
du .= 0
du[1:10] .= A * u[1:10]
end
u0 = Origin(0)(rand(12))
p = (; A)
prob = ODEProblem(f!, u0, (0, 1), p)
solve(prob, SSPRK43(thread=True()))
This throws an error arising from FastBroadcast.jl. Removing thread=True() makes it work correctly.
The text was updated successfully, but these errors were encountered:
I just ran it and it solved just fine on the latest versions that we just put out this week (ArrayInterface v7 and the new FastBroadcast version). So I'm not entirely sure what may have fixed it, but a lot of things improved because of it so I'll call that a win. Let me know if on the latest versions it works out for you.
Reproduction:
This throws an error arising from
FastBroadcast.jl
. Removingthread=True()
makes it work correctly.The text was updated successfully, but these errors were encountered: