-
Notifications
You must be signed in to change notification settings - Fork 370
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
Ensure that ResetKernel resets off_grid_spiking_ #716
Conversation
90d6501
to
2aa05be
Compare
@@ -69,6 +69,8 @@ EventDeliveryManager::~EventDeliveryManager() | |||
void | |||
EventDeliveryManager::initialize() | |||
{ | |||
off_grid_spiking_ = | |||
false; // ensures that ResetKernel resets off_grid_spiking_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be nicer to place the comment before the statement, so that the statement itself fits on a single line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
@suku248 Thanks for detecting this! But somehow this makes I also noticed that initialization and reset of
Could you check that all is well and add a comment why we do not need to reset those members explicitly (or fix the code if we do ...)? |
The problem with the test was that two of the sub-tests required I agree that initialization and reset of the |
Looks good! 👍 from me |
* master: Add more information about random numbers (cf NeuralEnsemble#621) Update installation docs to reflect support for NEST 2.16.0 FromListConnector now accepts empty lists, as it is supposed to. ...aaand forgot to add this too. Release 0.9.3 Documentation update Forgot to add this to Git when doing the last release Fixed outdated documentation Don't use `close_fds=True` More robust test (changed connection ordering in NEST 2.16.0 should not break test) Workaround for what seems to be a regression in NEST 2.16.0 Partially fixed a bug revealed by the stricter range checking of Neo 0.7. It appears that in NEST 2.16.0, "threads" must be set before "spike_precision" Trying to fix problem caused by nest/nest-simulator#716 Updating NEST extension models to work with NEST 2.16 Testing with NEST 2.16 Added quorum requirement. Added document on project governance Added example of using IntFire1 model Added support for NEURON "ARTIFICIAL_CELL"-type neuron models.
The default of the kernel parameter
off_grid_spiking_
isfalse
. The parameter can be altered by the user and it is automatically set totrue
if a precise neuron model is created.So far,
ResetKernel
did not result in a reset ofoff_grid_spiking_
tofalse
, which I find counterintuitive.