Skip to content

Commit

Permalink
add scipy 1.11 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrunewald committed Jun 27, 2023
1 parent 216339d commit 6a0b46a
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 6a0b46a

Please sign in to comment.