Skip to content

Commit

Permalink
chore: Refactor refractory period calculation in IFNodes_PredInf
Browse files Browse the repository at this point in the history
  • Loading branch information
Hananel-Hazan committed Jul 22, 2024
1 parent 5cb96d4 commit 5dc62b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindsnet/network/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ def __init__(

self.Fire_only_Once = Fire_only_Once
if self.Fire_only_Once:
refrac = torch.iinfo(torch.int32).max
self.refrac = torch.iinfo(torch.int32).max

self.lbound = lbound # Lower bound of voltage.

Expand Down

0 comments on commit 5dc62b8

Please sign in to comment.