From 0e0674d7033c6372ea8733906b4133d09658d0db Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Tue, 29 Jan 2019 15:11:12 +0100 Subject: [PATCH] fix _get_data for the BalancingLearner (#150) --- adaptive/learner/balancing_learner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptive/learner/balancing_learner.py b/adaptive/learner/balancing_learner.py index 266df441e..43958c3a3 100644 --- a/adaptive/learner/balancing_learner.py +++ b/adaptive/learner/balancing_learner.py @@ -381,7 +381,7 @@ def load(self, fname, compress=True): l.load(fname(l), compress=compress) def _get_data(self): - return [l._get_data() for l in learner.learners] + return [l._get_data() for l in self.learners] def _set_data(self, data): for l, _data in zip(self.learners, data):