Skip to content

Commit

Permalink
BUG: Add asarray
Browse files Browse the repository at this point in the history
Add missing asarray
  • Loading branch information
bashtage committed Aug 20, 2018
1 parent 284fab9 commit b96b99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statsmodels/tsa/stattools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ def arma_order_select_ic(y, max_ar=4, max_ma=2, ic='bic', trend='c',
results = np.zeros((len(ic), max_ar + 1, max_ma + 1))
model_kw = {} if model_kw is None else model_kw
fit_kw = {} if fit_kw is None else fit_kw
y_arr = y
y_arr = np.asarray(y)
for ar in ar_range:
for ma in ma_range:
if ar == 0 and ma == 0 and trend == 'nc':
Expand Down

0 comments on commit b96b99f

Please sign in to comment.