diff --git a/bob/bio/gmm/tools/gmm.py b/bob/bio/gmm/tools/gmm.py index a35c94f2db6d112f4cd180af75ba2a8bfdccbe2e..09e67b51750e6de2346ea90cc6c30a661873313d 100644 --- a/bob/bio/gmm/tools/gmm.py +++ b/bob/bio/gmm/tools/gmm.py @@ -91,7 +91,7 @@ def _read_stats(filename): def _accumulate(filenames): zeroeth, first, nsamples, dist = _read_stats(filenames[0]) for stat in filenames[1:]: - zeroeth_, first_, nsamples_, dist_ = _read_stats(filenames[1]) + zeroeth_, first_, nsamples_, dist_ = _read_stats(stat) zeroeth += zeroeth_ first += first_ nsamples += nsamples_