From fd02d043832a61eb1590fd4ade83886d829f1d74 Mon Sep 17 00:00:00 2001 From: Seimen Date: Thu, 2 Jan 2025 20:26:19 +0100 Subject: [PATCH] fixed type in ValueError when T to low. --- thermo/flash/flash_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermo/flash/flash_base.py b/thermo/flash/flash_base.py index 51f303b1..f64a6888 100644 --- a/thermo/flash/flash_base.py +++ b/thermo/flash/flash_base.py @@ -326,7 +326,7 @@ def flash(self, zs=None, T=None, P=None, VF=None, SF=None, V=None, H=None, T = float(T) flash_specs['T'] = T if T < self.T_MIN_FLASH_ANY: - raise ValueError(f"Specified temperature ({T} K) is below the minimum temeprature ({self.T_MIN_FLASH_ANY} K) " + raise ValueError(f"Specified temperature ({T} K) is below the minimum temperature ({self.T_MIN_FLASH_ANY} K) " "supported by any of the provided phases") # if T <= 0.0: # raise ValueError("Specified temperature (%s K) is unphysical" %(T,))