Skip to content

Commit 0377908

Browse files
committed
Reverted ics append to use integer indices
1 parent ecf8fb8 commit 0377908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,8 @@ def add_warns(*args):
584584
warnings.filterwarnings('always')
585585

586586
ics = []
587-
for n, (m, t) in zip(names, model_dict.items()):
588-
ics.append((n, ic_func(t, m, pointwise=True)))
587+
for c, (m, t) in enumerate(model_dict.items()):
588+
ics.append((c, ic_func(t, m, pointwise=True)))
589589

590590
ics.sort(key=lambda x: x[1][0])
591591

0 commit comments

Comments
 (0)