Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Feb 24, 2024
1 parent 2a858dc commit 451ad3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dilax/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def parameter_constraints(self) -> dict:
def _constraint(param: Parameter) -> jax.Array:
if param.constraints:
if len(param.constraints) > 1:
msg = f"More than one constraint per parameter is not allowed. Got: {param.constraint}"
msg = f"More than one constraint per parameter is not allowed. Got: {param.constraints}"
raise ValueError(msg)
return next(iter(param.constraints)).logpdf(param.value)
return jnp.array([0.0])
Expand Down

0 comments on commit 451ad3f

Please sign in to comment.