Skip to content

Commit

Permalink
BUG: Add return statement to predict. Needs tests! Closes statsmodels…
Browse files Browse the repository at this point in the history
  • Loading branch information
jseabold committed Apr 8, 2012
1 parent bfb3ad1 commit 47fa40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsmodels/tsa/arima_model.py
Expand Up @@ -841,7 +841,7 @@ def predict(self, start=None, end=None, exog=None):
If the model is an ARMAX and out-of-sample forecasting is
requestion, exog must be given.
"""
self.model.predict(self.params, start, end, exog)
return self.model.predict(self.params, start, end, exog)

def forecast(self, steps=1, exog=None, alpha=.05):
"""
Expand Down

0 comments on commit 47fa40f

Please sign in to comment.