From c127cb9dad13b7638fb95166d0a2f68ced244620 Mon Sep 17 00:00:00 2001 From: cerlymarco <36955807+cerlymarco@users.noreply.github.com> Date: Thu, 27 Aug 2020 11:13:33 +0200 Subject: [PATCH] Release --- setup.py | 2 +- tsmoothie/smoother.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 569796b..3dac91b 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ HERE = pathlib.Path(__file__).parent -VERSION = '0.1.3' +VERSION = '0.1.4' PACKAGE_NAME = 'tsmoothie' AUTHOR = 'Marco Cerliani' AUTHOR_EMAIL = 'cerlymarco@gmail.com' diff --git a/tsmoothie/smoother.py b/tsmoothie/smoother.py index 725c95e..284810e 100644 --- a/tsmoothie/smoother.py +++ b/tsmoothie/smoother.py @@ -1625,6 +1625,7 @@ def smooth(self, data): if 'tsmoothie.smoother' not in self.Smoother.__name__: raise ValueError("Use a Smoother from tsmoothie.smoother") + data = np.asarray(data) if np.prod(data.shape) == np.max(data.shape): data = data.ravel()[:,None] else: