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: