Skip to content

Commit 8a3802f

Browse files
authored
Merge pull request #419 from dPys/development
[ENH] Prevent infinite loop with cov tolerance tuning
2 parents e2dffd0 + ff1acb1 commit 8a3802f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynets/fmri/estimation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ def get_conn_matrix(
203203
try:
204204
estimator.fit(time_series)
205205
except BaseException:
206+
ix += 1
206207
continue
207-
ix += 1
208208

209209
if not hasattr(estimator, 'covariance_') and not hasattr(estimator,
210210
'precision_'):

0 commit comments

Comments
 (0)