Skip to content

Commit

Permalink
Update x0 initialization in HarmonicOscillatorPotential constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
wiederm committed Dec 29, 2023
1 parent 551ce2b commit 409f5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chiron/potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def __init__(
self,
topology: Topology,
k: unit.Quantity = 1.0 * unit.kilocalories_per_mole / unit.angstrom**2,
x0: unit.Quantity = [[0.0, 0.0, 0.0]] * unit.angstrom,
x0: unit.Quantity = jnp.array([[0.0, 0.0, 0.0]]) * unit.angstrom,
U0: unit.Quantity = 0.0 * unit.kilocalories_per_mole,
):
"""
Expand Down

0 comments on commit 409f5c7

Please sign in to comment.