Skip to content

Commit

Permalink
removes previously introduced jax fix, now fixed upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois committed Jul 26, 2020
1 parent 95da132 commit 5fc49b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax_cosmo/scipy/interpolate.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def interp(x, xp, fp):
ind = np.argmin((x - xp) ** 2)

# Perform linear interpolation
ind = np.clip(ind.astype("float32"), 1, len(xp) - 2).astype("int32")
ind = np.clip(ind, 1, len(xp) - 2)

xi = xp[ind]
# Figure out if we are on the right or the left of nearest
Expand Down

0 comments on commit 5fc49b6

Please sign in to comment.