diff --git a/pyproject.toml b/pyproject.toml index c6cc746..a24c898 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/sinflow/_version.py b/src/sinflow/_version.py index f20f41e..9ad6de2 100644 --- a/src/sinflow/_version.py +++ b/src/sinflow/_version.py @@ -1 +1 @@ -version = "0.1.2" \ No newline at end of file +version = "0.1.3" \ No newline at end of file diff --git a/src/sinflow/mrqs.py b/src/sinflow/mrqs.py index c20dbac..a3f1b80 100644 --- a/src/sinflow/mrqs.py +++ b/src/sinflow/mrqs.py @@ -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)