Skip to content

Commit

Permalink
bug fix in spring constant convergence
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Sep 12, 2023
1 parent fcfb4ae commit 3277078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calphy/solid.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def run_iterative_spring_constant_convergence(self, lmp):
#now reevaluate spring constants
self.assign_spring_constants(k_mean)
break
laststd = k_std
laststd = k_std[0]

else:
if not (len(self.calc.spring_constants) == self.calc.n_elements):
Expand Down

0 comments on commit 3277078

Please sign in to comment.