Skip to content

Fix JAX erfinv failing test #251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Conversation

ricardoV94
Copy link
Member

@ricardoV94 ricardoV94 commented Mar 17, 2023

JAX behavior at the boundary changed and no longer returns inf like scipy does, in version 0.4.6
Fixed test by evaluating at a non-boundary value.

Closes #241

JAX behavior at the boundary changed and no longer returns np.inf like scipy does. Fixed by evaluating at a non-boundary value.
@codecov-commenter
Copy link

Codecov Report

Merging #251 (dc0d786) into main (7301a45) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             main     #251     +/-   ##
=========================================
  Coverage   80.44%   80.44%             
=========================================
  Files         170      170             
  Lines       45328    45328             
  Branches     9687    11069   +1382     
=========================================
  Hits        36463    36463             
  Misses       6642     6642             
  Partials     2223     2223             
Impacted Files Coverage Δ
pytensor/misc/safe_asarray.py 69.23% <100.00%> (ø)

... and 3 files with indirect coverage changes

@twiecki twiecki merged commit 651ed9f into pymc-devs:main Mar 17, 2023
@ricardoV94 ricardoV94 deleted the fix_jax_test branch June 21, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests failing on main, possibly due to JAX
4 participants