Skip to content

Commit 2c0c574

Browse files
committed
Syntax bugfix
1 parent a21d31c commit 2c0c574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/SchaMinimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ def run(self, verbose = 1, custom_function_pre = None, custom_function_post = No
11361136
self.__fe__.append(np.real(fe))
11371137
self.__fe_err__.append(np.real(err))
11381138

1139-
harm_fe = self.dyn.GetHarmonicFreeEnergy(self.ensemble.current_T, w_pols = (self.ensemble.current_w, self.ensemble.current_pols) / np.prod(self.ensemble.supercell)
1139+
harm_fe = self.dyn.GetHarmonicFreeEnergy(self.ensemble.current_T, w_pols = (self.ensemble.current_w, self.ensemble.current_pols)) / np.prod(self.ensemble.supercell)
11401140
anharm_fe = np.real(fe - harm_fe)
11411141

11421142
# Compute the KL ratio

0 commit comments

Comments
 (0)