Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
cerlymarco committed Aug 27, 2020
1 parent 3571cd9 commit c127cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions tsmoothie/smoother.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c127cb9

Please sign in to comment.