-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Moved reltol and abstol to optional parameters in ode() #8
Conversation
@pjpmarques : Thanks for the PR! This is very much in line with our API discussions for ODE.jl. Would you mind to add the keywords also for |
This is an obvious change that makes Sundails closer to the API discussions, without breaking backwards compatibility (for now). |
Moved reltol and abstol to optional parameters in ode()
@ivarne : Would have been nice to get |
Yes, it would, but I did not think that was a reason to hold this PR. At least when I submit something to a unfamiliar project, it is much more likely that I submit a second one, if the first gets merged quick. |
@acroy I added the keyword arguments in |
Sorry guys, I should have done this. Thanks. |
Nothing to be sorry about. This change was almost a year overdue. |
Thanks to both of you :-) |
While using the simplified ode() function interface I ran into problems because the precision was not enough for running my simulation. I changed the code so that the tolerances can now be specified as optional parameters of the function. This doesn't break any code and I think it's common/useful enough to be of used.
I've also included a link to a ijulia notebook that is using this code. I think this would be useful to other users.