Skip to content

Commit

Permalink
fix reshape
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmaibrgm committed Apr 7, 2023
1 parent 7838905 commit a518179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/razorback/prefilters.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def value(self, e, b):
size = self._size
coeff_det = self.coeff_determination
breshape = lambda arr: arr[:len(arr)-(len(arr) % size)].reshape(
(divmod(len(arr), size)[0], size) + (-1,) * (arr.ndim-1)
(divmod(len(arr), size)[0], size) + arr.shape[1:]
)
cod = np.zeros(len(e))
queue = size + (len(e) % size)
Expand Down

0 comments on commit a518179

Please sign in to comment.