diff --git a/pyemma/msm/analysis/dense/pcca.py b/pyemma/msm/analysis/dense/pcca.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/analysis/dense/pcca.py
+++ b/pyemma/msm/analysis/dense/pcca.py
@@ -566,6 +566,6 @@ class PCCA:
         """
         res = []
         assignment = self.metastable_assignment
-        for i in self.m:
+        for i in range(self.m):
             res.append(np.where(assignment == i)[0])
         return res
\ No newline at end of file
[msm.analysis.dense.pcca]: corrected iteration