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

Fix uninitialized variable in iaf_psc_exp #1225

Merged

Conversation

jakobj
Copy link
Contributor

@jakobj jakobj commented Jun 7, 2019

Not initializing the presynaptic stepwise constant input current i_1_ can have disastrous consequences when the memory is not zero by chance as its initial value is directly used (https://github.com/nest/nest-simulator/blob/master/models/iaf_psc_exp.cpp#L339).

@heplesser heplesser added ZC: Model DO NOT USE THIS LABEL I: Behavior changes Introduces changes that produce different results for some users ZP: PR Created DO NOT USE THIS LABEL S: High Should be handled next T: Bug Wrong statements in the code or documentation labels Jun 10, 2019
@heplesser heplesser merged commit 059fe89 into nest:master Jun 10, 2019
@heplesser
Copy link
Contributor

@jougs @terhorstd Please include this in 2.18.0 if it is not too late. A tiny but important bugfix.

@jakobj jakobj deleted the fix/iaf_psc_exp_uninitialized_variable branch June 19, 2019 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: Behavior changes Introduces changes that produce different results for some users S: High Should be handled next T: Bug Wrong statements in the code or documentation ZC: Model DO NOT USE THIS LABEL ZP: PR Created DO NOT USE THIS LABEL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants