Skip to content

Commit

Permalink
chore: Update 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 1dc91b0 commit 5cb96d4
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.int.torch.iinfo(torch.int32).max
refrac = torch.iinfo(torch.int32).max

self.lbound = lbound # Lower bound of voltage.

Expand Down

0 comments on commit 5cb96d4

Please sign in to comment.