Skip to content
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

RFC: Remove zero initialization on Integrator, Derivative, and FirstOrder #308

Closed
wants to merge 1 commit into from

Conversation

ChrisRackauckas
Copy link
Member

As started to be discussed in the other thread, these are the only three = 0 in this package that seem like they have a reasonable argument for it. There is a use case for which the integrator's starting value could be defined by an outside value, in which case this no = 0 default is better as you will otherwise "accidentally" add an extra initial equation and fail initialization, unless you do = nothing (needs to be added).

But, is this better for the normal user?

…rder

As started to be discussed in the other thread, these are the only three `= 0` in this package that seem like they have a reasonable argument for it. There is a use case for which the integrator's starting value could be defined by an outside value, in which case this no `= 0` default is better as you will otherwise "accidentally" add an extra initial equation and fail initialization, unless you do `= nothing` (needs to be added).

But, is this better for the normal user?
@ChrisRackauckas
Copy link
Member Author

@bradcarman @baggepinnen @mtiller-jh for comments.

@baggepinnen
Copy link
Contributor

My comments are here #306 (comment) and a few posts after that

@ChrisRackauckas
Copy link
Member Author

At least for now, we aren't doing this.

@ChrisRackauckas ChrisRackauckas deleted the integrator branch September 23, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants