Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
cerlymarco committed Jan 6, 2021
1 parent 77fb1cd commit 6ce0398
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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 = '1.0.0'
VERSION = '1.0.1'
PACKAGE_NAME = 'tsmoothie'
AUTHOR = 'Marco Cerliani'
AUTHOR_EMAIL = '[email protected]'
Expand Down
3 changes: 2 additions & 1 deletion tsmoothie/utils_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ def _id_nb_bootstrap(n_obs, block_length):
np.arange(0, n_obs, block_length)
).reshape(-1, 1)

_id = (blocks + nexts).ravel()[:n_obs]
_id = (blocks + nexts).ravel()
_id = _id[_id < n_obs]

return _id

Expand Down

0 comments on commit 6ce0398

Please sign in to comment.