Skip to content

Commit

Permalink
Fix the arguments order
Browse files Browse the repository at this point in the history
  • Loading branch information
ziatdinovmax authored Feb 5, 2024
1 parent 6a79271 commit 00372f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpax/models/sparse_gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, input_dim: int, kernel: str,
self.guide_type = AutoNormal if guide == 'normal' else AutoDelta
self.svi = None

def model(self, X: jnp.ndarray, y: jnp.ndarray = None, Xu: jnp.ndarray, **kwargs: float) -> None:
def model(self, X: jnp.ndarray, y: jnp.ndarray = None, Xu: jnp.ndarray = None, **kwargs: float) -> None:
if Xu is not None:
self.Xu = numpyro.param("Xu", Xu)
# Initialize mean function at zeros
Expand Down

0 comments on commit 00372f1

Please sign in to comment.