Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jung235 committed Oct 18, 2023
1 parent dd9aced commit 18302fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydiffuser/mech/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def register(potential: Any) -> Any:
def decorator() -> Any:
if not isinstance(potential, PjitFunction):
raise RuntimeError(
"Potential must be transformed via 'jax.jit' to register"
"Potential must be transformed via `jax.jit` to register"
)
FIELD_REGISTRY[f"{potential.__name__}"] = potential
return potential
Expand Down

0 comments on commit 18302fb

Please sign in to comment.