Skip to content

Commit 70aa1f5

Browse files
aloctavodiatwiecki
authored andcommitted
define c to avoid pylint complaint, even when the code was running ok, I guess there is a more clever/pythonic solution
1 parent 25ad5b6 commit 70aa1f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc3/stats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def compare(traces, models, ic='WAIC'):
318318

319319
warns = np.zeros(len(models))
320320

321+
c = 0
321322
def add_warns(*args):
322323
warns[c] = 1
323324

0 commit comments

Comments
 (0)