Skip to content

Commit

Permalink
fixed minimization
Browse files Browse the repository at this point in the history
  • Loading branch information
csbrasnett committed Apr 22, 2024
1 parent 113762a commit bf0a8c7
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 @@ -183,7 +183,7 @@ def target_function(positions):
energy += new
return energy

opt_results = scipy.optimize.minimize(target_function,
opt_results = scipy.optimize.minimize(target_function, positions,
method='L-BFGS-B',
options={'ftol': 0.001, 'maxiter': 100})

Expand Down

0 comments on commit bf0a8c7

Please sign in to comment.