Bugfix in partitioners

This commit is contained in:
Petrônio Cândido 2019-01-28 13:14:52 -02:00
parent b504c8a83c
commit 85ff48f48f

View File

@ -65,7 +65,7 @@ class Partitioner(object):
self.sets = self.build(ndata)
if self.ordered_sets is None and self.setnames is not None:
self.ordered_sets = self.setnames[:len(self.sets)-1]
self.ordered_sets = self.setnames[:len(self.sets)]
else:
self.ordered_sets = FuzzySet.set_ordered(self.sets)