Skip to content

Commit

Permalink
Fix small bug in activity grad
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-innocenti committed Jun 24, 2024
1 parent 1d35387 commit 79d24ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpc/_core/_grads.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _neg_activity_grad(
"""
generator, output, input = args
dFdzs = grad(pc_energy_fn, argnums=1)(
dFdzs = grad(energy_fn, argnums=1)(
generator,
activities,
output,
Expand Down

0 comments on commit 79d24ea

Please sign in to comment.