Fix data provider bug

This commit is contained in:
AntreasAntoniou 2017-10-09 16:15:33 +01:00
parent bede9e3dd5
commit c2995c34e7

View File

@ -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."""