Skip to content

Commit

Permalink
undo change
Browse files Browse the repository at this point in the history
  • Loading branch information
juanitorduz committed Nov 15, 2024
1 parent 22496b1 commit de05465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpyro/contrib/hsgp/laplacian.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _convert_ell(ell: float | int | list[float | int] | ArrayLike, dim: int) ->
"""
ell_ = jnp.empty((dim, 1))
if isinstance(ell, float) | isinstance(ell, int):
ell_ = jnp.array([ell] * dim)[..., None]
ell = jnp.array([ell] * dim)[..., None]
if isinstance(ell, list):
if len(ell) != dim:
raise ValueError(
Expand Down

0 comments on commit de05465

Please sign in to comment.