diff --git a/neurolib/models/model.py b/neurolib/models/model.py index 00d8340f..a8828007 100644 --- a/neurolib/models/model.py +++ b/neurolib/models/model.py @@ -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