Skip to content

Commit

Permalink
Merge pull request #41 from minaskar/dev
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
minaskar authored Feb 19, 2024
2 parents 84c157f + 0df603e commit 062e9a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ Copyright 2022-2024 Minas Karamanis and contributors.
Changelog
=========

**1.0.2 (18/02/24)**

- Minor improvements and bug fixes.

**1.0.0 (28/01/24)**

- First stable release.
Expand Down
2 changes: 1 addition & 1 deletion pocomc/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.0.1"
version = "1.0.2"
2 changes: 1 addition & 1 deletion pocomc/scaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def _inverse(self, u: np.ndarray):
x[:, self.mask_right], J[:, self.mask_right] = self._inverse_right(u)
x[:, self.mask_both], J[:, self.mask_both] = self._inverse_both(u)

log_det_J = np.array([np.linalg.slogdet(Ji * np.identity(len(Ji)))[1] for Ji in J])
log_det_J = np.log(np.prod(J, axis=1))

return x, log_det_J

Expand Down

0 comments on commit 062e9a6

Please sign in to comment.