lava-nc / lava-optimization

Neuromorphic mathematical optimization with Lava
https://lava-nc.org/optimization.html
BSD 3-Clause "New" or "Revised" License
51 stars 26 forks source link

Fix refract_counter init in NEBM/NEBMSA #223

Closed AlessandroPierro closed 1 year ago

AlessandroPierro commented 1 year ago

Objective of pull request: fix initialization of refract_counter to match expected behaviour

Pull request checklist

Your PR fulfills the following requirements:

Pull request type

Please check your PR type: - [x] Bugfix ## What is the current behavior?

What is the new behavior?

-refract_counter is correctly initialized, based on the value of refract and refract_scaling

Does this introduce a breaking change?