From c2995c34e79ef40ea763b7f2ee4aadbc6b2e72fd Mon Sep 17 00:00:00 2001 From: AntreasAntoniou Date: Mon, 9 Oct 2017 16:15:33 +0100 Subject: [PATCH] Fix data provider bug --- mlp/data_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlp/data_providers.py b/mlp/data_providers.py index 3d26d5e..c20063b 100644 --- a/mlp/data_providers.py +++ b/mlp/data_providers.py @@ -101,7 +101,7 @@ class DataProvider(object): self.shuffle() def __next__(self): - self.next() + return self.next() def reset(self): """Resets the provider to the initial state."""