Skip to content

Commit

Permalink
Remove obsolete import statements
Browse files Browse the repository at this point in the history
  • Loading branch information
aymgal committed Jun 7, 2024
1 parent 88e6ec3 commit 9d8d07b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions herculens/Util/jax_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@
__author__ = 'austinpeel', 'aymgal', 'duxfrederic'


from functools import partial
from copy import deepcopy
import numpy as np
import jax.numpy as jnp
from jax import jit, lax
from jax.scipy.special import gammaln
from jax.scipy.stats import norm
from jax.lax import conv_general_dilated, conv_dimension_numbers


def unjaxify_kwargs(kwargs_params):
Expand Down Expand Up @@ -59,7 +56,7 @@ def R_omega(z, t, q, nmax):

@jit
def body_fun(i, val):
# Currrent term in the series is proportional to the previous
# Current term in the series is proportional to the previous
ratio = (2. * i + t - 2.) / (2. * i - t + 2.)
val[1] = -f * ei2phi * ratio * val[1]
# Adds the current term to the partial sum
Expand Down

0 comments on commit 9d8d07b

Please sign in to comment.