Skip to content

Commit

Permalink
signalV default to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
caglorithm committed Jan 20, 2021
1 parent 3db0121 commit 3d7fab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neurolib/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ def getMaxDelay(self):
if signalV > 0:
Dmat = Dmat / signalV
else:
# if signalV is 0, eliminate delays
Dmat = Dmat * 0.0

# only if Dmat and dt exist, a global max delay can be computed
Expand Down

0 comments on commit 3d7fab3

Please sign in to comment.