Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
minaskar committed Oct 13, 2024
1 parent b251e83 commit 0fa80e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "sinflow"
version = "0.1.2"
version = "0.1.3"
description = "Sliced Iterative Normalizing Flow"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/sinflow/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "0.1.2"
version = "0.1.3"
4 changes: 2 additions & 2 deletions src/sinflow/mrqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ def inverse(self, y):
x_within = x_m + delta_x * xi
x[within] = x_within

if np.any(np.isnan(x)):
raise ValueError("NaN encountered in inverse transformation.")
#if np.any(np.isnan(x)):
# raise ValueError("NaN encountered in inverse transformation.")

# Compute dy/dx at the computed x to obtain dx/dy
dy_dx_at_x = self.derivative(x_within)
Expand Down

0 comments on commit 0fa80e4

Please sign in to comment.