Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inailuig committed May 1, 2024
1 parent 8fc9827 commit 6e1716f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netket/sampler/rules/hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __transition(v, rand_vec):
@partial(sharding_decorator, sharded_args_tree=(True, True))
def _transition(v, rand_vec):
return jax.pure_callback(
_transition,
__transition,
(
jax.core.ShapedArray(v.shape, v.dtype),
jax.core.ShapedArray((v.shape[0],), log_prob_dtype),
Expand Down

0 comments on commit 6e1716f

Please sign in to comment.