Skip to content

Commit

Permalink
Minor bug fix related to opt_win and opt_stride size
Browse files Browse the repository at this point in the history
  • Loading branch information
DetectiveKiwi committed Jun 30, 2024
1 parent 14cfe60 commit 387cbab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nsdmd/nsdmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ def __init__(
verbose=False,
filter_options={}
):
if opt_stride > opt_win:
warnings.warn('opt_stride < opt_win not maintained, setting opt_stride=opt_win...')
opt_stride = opt_win
self.opt_win = opt_win
self.opt_stride = opt_stride
self.opt_rank = opt_rank
Expand Down

0 comments on commit 387cbab

Please sign in to comment.