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
{{ message }}
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Are the equations for complex dependent variables officially supported? I tried to solve the following simple equation and I got the InexactError():
julia> F(t,y)=1im*y
F (generic function with 1 method)
julia> ODE.ode45(F,y0,[0.0,1.0])
ERROR: InexactError()
in setindex! at array.jl:305
julia> y0=[0.0im]
1-element Array{Complex{Float64},1}:
0.0+0.0im
julia> ODE.ode45(F,y0,[0.0,1.0])
ERROR: InexactError()
in setindex! at array.jl:305
EDIT: ok, I have just read the example by @acroy in issue #37. Why is there a new type needed to get the complex numbers working?
The text was updated successfully, but these errors were encountered:
Are the equations for complex dependent variables officially supported? I tried to solve the following simple equation and I got the
InexactError()
:EDIT: ok, I have just read the example by @acroy in issue #37. Why is there a new type needed to get the complex numbers working?
The text was updated successfully, but these errors were encountered: