Skip to content

Remove pointless initialisation of integration step size #3249

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

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

clinssen
Copy link
Contributor

@clinssen clinssen commented Jul 12, 2024

Add note about maximum enforced timestep in all aeif models.

Remove pointless initialisation of integration step size to max 0.01 ms (see discussion below).

@clinssen clinssen added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Jul 12, 2024
@terhorstd
Copy link
Contributor

@clinssen, could you please provide a description for this PR?

@heplesser heplesser self-requested a review September 9, 2024 08:01
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clinssen I think in this case the code is actually wrong/outdated. We us an adaptive-stepsize solver, so we should not need to control the integration time step manually. See also inline comment. I'd suggest to change the code instead (but check for consequences).

@clinssen clinssen force-pushed the aeif_timestep_note branch 3 times, most recently from 6471863 to 10c3449 Compare December 9, 2024 10:06
@clinssen clinssen changed the title Add note about maximum enforced timestep Remove pointless initialisation of integration step size Dec 9, 2024
@clinssen clinssen requested a review from heplesser December 9, 2024 10:09
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tidying up!

@heplesser heplesser requested a review from otcathatsya December 9, 2024 13:38
@clinssen clinssen merged commit 149626e into nest:master Dec 9, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants