From b504c8a83ccbcd9409ffac414ad2e8d23f194887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=C3=B4nio=20C=C3=A2ndido?= Date: Mon, 28 Jan 2019 11:48:31 -0200 Subject: [PATCH] Bugfix in partitioners.Entropy, not catching fuzzy set names correctly --- pyFTS/partitioners/partitioner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyFTS/partitioners/partitioner.py b/pyFTS/partitioners/partitioner.py index 837cee0..c08f5df 100644 --- a/pyFTS/partitioners/partitioner.py +++ b/pyFTS/partitioners/partitioner.py @@ -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 + self.ordered_sets = self.setnames[:len(self.sets)-1] else: self.ordered_sets = FuzzySet.set_ordered(self.sets)