-
Notifications
You must be signed in to change notification settings - Fork 1
starting support of continuous NonLinModel
(RK4 only for now)
#38
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a solver
is provided, is the dynamics automatically interpreted in continuous time then? Or in other words, the way the user communicates whether the dynamics is continuous or discrete time is by the presence of absence of the solver
?
Yes exactly! If the user provides a solver, the dynamics are assumed continuous, else discrete. No solver is the default behavior to avoid breaking changes. But, since the package is still in |
Co-authored-by: Fredrik Bagge Carlson <[email protected]>
remove `let` block (seems useless)
Keep in mind that as long as the major version is 0, every minor release (change of |
From https://semver.org/#spec-item-4, it seems that there is no specific rule for breaking releases in major version 0. I think I will make a breaking change and default to continuous time model, with |
Julia isn't following semver proper, the julia version is detailed here https://pkgdocs.julialang.org/v1/compatibility/#compat-pre-1.0 |
Thanks for the info, I did not know that! I will follow this rule from now on. I will register a new minor version soon with the breaking change above. I now use the default RK4 solver in the pendulum example of the manual. |
I'm opening the PR to allow commenting