Closed AlessandroPierro closed 1 year ago
Objective of pull request: fix initialization of refract_counter to match expected behaviour
Your PR fulfills the following requirements:
pyb
pyb -E unit
python -m unittest
refract_counter
NEBM
NEBMSA
-refract_counter is correctly initialized, based on the value of refract and refract_scaling
refract
refract_scaling
Objective of pull request: fix initialization of refract_counter to match expected behaviour
Pull request checklist
Your PR fulfills the following requirements:
pyb
) passes locallypyb -E unit
) or (python -m unittest
) passes locallyPull request type
Please check your PR type: - [x] Bugfix ## What is the current behavior?refract_counter
was initialized to 0 inNEBM
andNEBMSA
processes, resulting in the model not entering in refractory period after the first spikeWhat is the new behavior?
-
refract_counter
is correctly initialized, based on the value ofrefract
andrefract_scaling
Does this introduce a breaking change?