Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Apr 24, 2024
1 parent f73d1d2 commit 3de4a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evermore/effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Linear(Effect):
offset: Array = eqx.field(converter=jnp.atleast_1d)
slope: Array = eqx.field(converter=jnp.atleast_1d)

@jax.named_scope("evm.effect.Lambda")
@jax.named_scope("evm.effect.Linear")
def __call__(self, parameter: PyTree[Parameter], hist: Array) -> OffsetAndScale:
assert isinstance(parameter, Parameter)
sf = parameter.value * self.slope + self.offset
Expand Down

0 comments on commit 3de4a46

Please sign in to comment.