Small bugfix in pwfts.forecast_ahead_distribution

This commit is contained in:
Petrônio Cândido 2019-06-23 11:11:18 -03:00
parent 61707f94a6
commit 690f9bdc7e

View File

@ -590,7 +590,10 @@ class ProbabilisticWeightedFTS(ifts.IntervalFTS):
start = kwargs.get('start_at', 0)
if 'fuzzyfied' in kwargs:
fuzzyfied = kwargs.pop('fuzzyfied')
else:
fuzzyfied = False
if not fuzzyfied:
sample = ndata[start: start + self.max_lag]