From 4add643950b01ab8bf039a01d3867a8c7a431a63 Mon Sep 17 00:00:00 2001 From: Mainak Pal Date: Fri, 10 Jul 2020 19:19:45 +0530 Subject: [PATCH] filetype-bug at autohmm.ar sample() --- autohmm/ar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autohmm/ar.py b/autohmm/ar.py index b4a9106..52bd20c 100644 --- a/autohmm/ar.py +++ b/autohmm/ar.py @@ -562,7 +562,7 @@ def sample(self, n_samples=2000, observed_states=None, samples = np.zeros((n_samples, self.n_features)) - states = np.zeros(n_samples) + states = np.zeros(n_samples, dtype=int) order = self.n_lags