-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Real noise with complex variables gives compilation errors for some solvers #401
Comments
The first thing to do would be to dig in and find out what algorithm is being called here. It's probably just SOSRA, so then we need to dig into the caches and find out what is complex when it shouldn't be in the spot where it's pointing to the error, and if we should use Ref on past work: SciML/StochasticDiffEq.jl#101 |
After running function numerical_sol(solver;kwargs...)
f(u,p,t) = u
g(u,p,t) = u
#u₀=1.0im
#u₀=[1.0im,2.0im]
u₀=[1.0im 2.0im; 3.0im 4.0im]
W = WienerProcess(0.,0.,0.)
tspan = (0.0,1.0)
prob = SDEProblem(f,g,u₀,tspan,noise=W)
solve(prob,solver;kwargs...)
end; causes the following errors with the following solvers:
|
With the following code everything works fine:
f and g are functions returning 2x2 complex matrices. W is real noise. ρ₀ is a 2x2 complex matrix.
When I remove the choice of solver, and leave it to decide on its own (I have poor understanding of how that choice is made and how I can find the default) I get an error:
Any suggestions on how to contribute to tracking this down?
Running on julia 1.0.0 and DifferentialEquations as added from
Pkg.add
this week.The text was updated successfully, but these errors were encountered: