Skip to content

Commit 14055b6

Browse files
linted
1 parent 5785acc commit 14055b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/nemos/basis.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,7 @@ def _compute_peaks(self):
10031003
if self.enforce_decay_to_zero:
10041004
# compute the last peak location such that the last
10051005
# basis element decays to zero at the last sample.
1006-
last_peak = 1 - self.width / (
1007-
self.n_basis_funcs + self.width - 1
1008-
)
1006+
last_peak = 1 - self.width / (self.n_basis_funcs + self.width - 1)
10091007
else:
10101008
last_peak = 1
10111009
return np.linspace(0, last_peak, self.n_basis_funcs)

0 commit comments

Comments
 (0)