mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[Cython] Fix a typo in an error message
This commit is contained in:
parent
f1a61f8d16
commit
0aec8761f4
@ -1960,7 +1960,7 @@ cdef class PureFluid(ThermoPhase):
|
||||
def __set__(self, Q):
|
||||
if (self.P >= self.critical_pressure or
|
||||
abs(self.P-self.P_sat)/self.P > 1e-4):
|
||||
raise ValueError('Cannot set vapor quality outside the'
|
||||
raise ValueError('Cannot set vapor quality outside the '
|
||||
'two-phase region')
|
||||
self.thermo.setState_Psat(self.P, Q)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user