Skip to content

Commit

Permalink
Merge pull request #333 from marrink-lab/fix/scipyv1.11
Browse files Browse the repository at this point in the history
add scipy 1.11 patch
  • Loading branch information
fgrunewald committed Jun 28, 2023
2 parents 216339d + 6a0b46a commit 75b892f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyply/src/minimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def optimize_geometry(block, coords, inter_types=[], tolerance={"angles": 5,
"""
n_atoms = len(coords)
atom_to_idx = OrderedDict(zip(list(coords.keys()), range(0, n_atoms)))
positions = np.array(list(coords.values()))
positions = np.ravel(np.array(list(coords.values())))

def target_function(positions):
energy = 0
Expand Down

0 comments on commit 75b892f

Please sign in to comment.