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

Fixed a bug in the SecondaryEvent delivery #963

merged 1 commit into from Jun 5, 2018


None yet
4 participants

janhahne commented Jun 4, 2018

This PR fixes #955. The origin of the error is explained in the corresponding issue.

All SecondaryEvents which exist at the moment use double as data type. In this cases the sizes in question are the same (this is actually the case for most data types that I checked), which is why this error remained undetected until now (and cannot be tested with the current master).

I have created a branch (based on 5g) where I created an additional SecondaryEvent with bool data (see After merging the fix everything works fine there now.


Looks fine in principle, but see my inline comment.

Show outdated Hide outdated nestkernel/event.h

This comment has been minimized.

Show comment
Hide comment

janhahne Jun 5, 2018


@heplesser You are right, a static_cast is more compact. Please have another look.


janhahne commented Jun 5, 2018

@heplesser You are right, a static_cast is more compact. Please have another look.

@heplesser heplesser requested a review from hakonsbm Jun 5, 2018


Looks good to me.

@heplesser heplesser merged commit 5a841f0 into nest:master Jun 5, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@janhahne janhahne deleted the janhahne:fix955 branch Jun 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment