diff --git a/docs/source/index.rst b/docs/source/index.rst index 8f71ec6..77a08cb 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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. diff --git a/pocomc/_version.py b/pocomc/_version.py index e730b65..69c1e6b 100644 --- a/pocomc/_version.py +++ b/pocomc/_version.py @@ -1 +1 @@ -version = "1.0.1" \ No newline at end of file +version = "1.0.2" \ No newline at end of file diff --git a/pocomc/scaler.py b/pocomc/scaler.py index 412af93..15187d0 100644 --- a/pocomc/scaler.py +++ b/pocomc/scaler.py @@ -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