Skip to content

Commit

Permalink
int division, closes #63 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdewitt authored Dec 18, 2020
1 parent 6dee54c commit 40552ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mushi/ksfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def infer_history(self, # noqa: C901
if folded:
x += x[::-1] # fold the data spectrum
if self.n % 2 == 0:
x[self.n // 2 - 1] /= 2
x[self.n // 2 - 1] //= 2
if mask is None:
mask = onp.array([True for _ in range(self.n - 1)])
mask = onp.logical_and(mask, mask[::-1]) # fold the mask
Expand Down

0 comments on commit 40552ce

Please sign in to comment.