With #31 tspan gets converted to a complex type when using a complex u. This causes solve to fail with e.g. MethodError: no method matching isless(::ComplexF64, ::ComplexF64).
This PR just makes the type to real fixing that. Also, I added a test for complex u.
With #31
tspan
gets converted to a complex type when using a complexu
. This causessolve
to fail with e.g.MethodError: no method matching isless(::ComplexF64, ::ComplexF64)
. This PR just makes the type toreal
fixing that. Also, I added a test for complexu
.