-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
MethodError: no method matching similar(::Float64) #61
Comments
This method doesn't handle scalar ODEs, i.e. |
I redefined the functions in the outer integration as follows:
and obtained the following results:
Is this my error or is something wrong within |
With the function definition
the following call works on Julia 1.9.2 (but not on Julia 1.10).
|
Hi, If you specify a initial step size, the following call works on both Julia 1.9.1 and Julia 1.10.0:
|
Thanks for fixing that case. However, I still have problems understanding the interface logic of this function regarding the choice and role of keyword parameters like
does not work, but
all work. On Julia 1.10, none of the following work
but
all work. Sorry for insisting on these issues, but this software is aimed to serve as the default option for solving periodic Riccati differential equations in my package PeriodicSystems, and I would like very much to master all provided facilities. |
Solved in #64 by a modification that makes the error estimate of zero behave like machine epsilon. |
For constant step integrations, this dt will be used for all steps of the integration; in adaptive step integrations it will be adjusted according to the tolerance indicated by the user. Regards, |
The following code (also used in #57) fails:
The alternative call (to be commented out) to
Tsit5()
works correctly and the result is 3.3006156893224454.The text was updated successfully, but these errors were encountered: