Skip to content

Commit

Permalink
Backport PR #2522: feat: Use 'method' arg for jax.numpy.percentile
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert authored and meeseeksmachine committed Jun 20, 2024
1 parent 47d5930 commit ce1753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyhf/tensor/jax_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def percentile(self, tensor_in, q, axis=None, interpolation="linear"):
.. versionadded:: 0.7.0
"""
return jnp.percentile(tensor_in, q, axis=axis, interpolation=interpolation)
return jnp.percentile(tensor_in, q, axis=axis, method=interpolation)

def stack(self, sequence, axis=0):
return jnp.stack(sequence, axis=axis)
Expand Down

0 comments on commit ce1753b

Please sign in to comment.