Skip to content

Commit e10dfc9

Browse files
authored
Merge pull request #165 from cloasdata/seimen_dev
fixed typo in ValueError when T to low.
2 parents c80ff0b + fd02d04 commit e10dfc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thermo/flash/flash_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def flash(self, zs=None, T=None, P=None, VF=None, SF=None, V=None, H=None,
326326
T = float(T)
327327
flash_specs['T'] = T
328328
if T < self.T_MIN_FLASH_ANY:
329-
raise ValueError(f"Specified temperature ({T} K) is below the minimum temeprature ({self.T_MIN_FLASH_ANY} K) "
329+
raise ValueError(f"Specified temperature ({T} K) is below the minimum temperature ({self.T_MIN_FLASH_ANY} K) "
330330
"supported by any of the provided phases")
331331
# if T <= 0.0:
332332
# raise ValueError("Specified temperature (%s K) is unphysical" %(T,))

0 commit comments

Comments
 (0)