Skip to content

Commit eab5e2b

Browse files
authored
Merge pull request #167 from ICAMS/bug_fix
Bug fix
2 parents c0632ff + 70940db commit eab5e2b

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

calphy/liquid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def thermodynamic_integration(self):
412412
self.calc._temperature,
413413
self.rho,
414414
self.calc.uhlenbeck_ford_model.p,
415-
self.uhlenbeck_ford_model.sigma,
415+
self.calc.uhlenbeck_ford_model.sigma,
416416
)
417417

418418
# Get ideal gas fe

calphy/phase.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,7 @@ def __init__(self, calculation=None, simfolder=None, log_to_screen=False):
101101
self.logger.info(
102102
"Thermostat/Barostat combo for equilibration cycle can be specified using keyword equilibration_control"
103103
)
104-
if self.calc.reference_phase == "liquid":
105-
self.logger.info(
106-
"Reference phase is liquid, setting Nose-Hoover thermostat for equilibration"
107-
)
108-
self.calc.equilibration_control = "nose-hoover"
109-
else:
110-
self.logger.info(
111-
"Reference phase is solid, setting Nose-Hoover thermostat for equilibration"
112-
)
113-
self.calc.equilibration_control = "nose-hoover"
104+
self.calc.equilibration_control = "nose-hoover"
114105
else:
115106
self.logger.info(
116107
"Equilibration stage is done using %s barostat/thermostat"

0 commit comments

Comments
 (0)