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 misuse of outdated variable that led to an impossible condition #1416

Merged
merged 1 commit into from
Feb 19, 2020

Conversation

jakobj
Copy link
Contributor

@jakobj jakobj commented Feb 6, 2020

This removes a local counter used as an exit condition for a while true loop that was never increased. It is replaced by using the correct functions of send_buffer_positions. While this should not lead to any bugs, it potentially slows down construction of the presynaptic infrastructure quite severely.

Discovered during a code review session with @suku248 @diesmann @heplesser

This removes a local counter used as an exit condition for a while
true loop that was never increased. It is replaced by using the
correct functions of send_buffer_positions.
@terhorstd terhorstd added ZC: Kernel DO NOT USE THIS LABEL I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) ZP: PR Created DO NOT USE THIS LABEL S: High Should be handled next T: Bug Wrong statements in the code or documentation labels Feb 19, 2020
@heplesser
Copy link
Contributor

Reviewed in VC by @suku248, @terhorstd, @heplesser , thus merging without further review.

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: High Should be handled next T: Bug Wrong statements in the code or documentation ZC: Kernel 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.

3 participants