Skip to content

Commit

Permalink
Fix parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
stekaiser committed Nov 27, 2017
1 parent d3743e6 commit 13f7a51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adaptivekde/sskernel.py
Expand Up @@ -69,7 +69,7 @@ def sskernel(x, tin=None, W=None, nbs=1e3):
dx = np.sort(np.diff(np.sort(x)))
dt_samp = dx[np.nonzero(dx)][0]
if dt_samp > min(np.diff(tin)):
t = np.linspace(min(tin), max(tin), min(np.ceil(T / dt_samp, 1e3)))
t = np.linspace(min(tin), max(tin), min(np.ceil(T / dt_samp), 1e3))
else:
t = tin

Expand Down
2 changes: 1 addition & 1 deletion adaptivekde/ssvkernel.py
Expand Up @@ -85,7 +85,7 @@ def ssvkernel(x, tin=None, M=80, nbs=1e2, WinFunc='Boxcar'):
dx = np.sort(np.diff(np.sort(x)))
dt_samp = dx[np.nonzero(dx)][0]
if dt_samp > min(np.diff(tin)):
t = np.linspace(min(tin), max(tin), min(np.ceil(T / dt_samp, 1e3)))
t = np.linspace(min(tin), max(tin), min(np.ceil(T / dt_samp), 1e3))
else:
t = tin

Expand Down

0 comments on commit 13f7a51

Please sign in to comment.