Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
daico007 committed Nov 14, 2023
1 parent e8dd5e6 commit 7443f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmso/formats/gro.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _validate_positions(pos_array):
)
min_xyz = np.min(pos_array, axis=0)
unit = min_xyz.units
min_xyz0 = np.where(min_xyz < 0 * unit, min_xyz, 0 * u.unit)
min_xyz0 = np.where(min_xyz < 0 * unit, min_xyz, 0 * unit)

pos_array -= min_xyz0

Expand Down

0 comments on commit 7443f1f

Please sign in to comment.