Skip to content

Commit be16f16

Browse files
committed
update postprocessing
1 parent b383c1f commit be16f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

calphy/postprocessing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def fix_composition_scaling(dfdict, fit_order=4, correct_entropy=True, add_ideal
328328
if correct_entropy:
329329
#note that we need a factor of 2, because the first one is directly coming in from the equations
330330
if add_ideal_entropy:
331-
x.at[index, 'free_energy'] = row.free_energy - 2*row.temperature*row.ideal_entropy + np.polyval(ref_fe_fit, row.temperature)
331+
x.at[index, 'free_energy'] = row.free_energy - row.temperature*row.ideal_entropy + np.polyval(ref_fe_fit, row.temperature)
332332
else:
333333
x.at[index, 'free_energy'] = row.free_energy - row.temperature*row.ideal_entropy + np.polyval(ref_fe_fit, row.temperature)
334334
else:

0 commit comments

Comments
 (0)