mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 20:38:01 -05:00
Fixed order of inputs for update_ph of state class
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -454,7 +454,7 @@ cdef class State:
|
||||
h: float
|
||||
Enthalpy [kJ/kg]
|
||||
"""
|
||||
self.pAS.update(HmassP_INPUTS, p*1000, h*1000)
|
||||
self.pAS.update(HmassP_INPUTS, h*1000, p*1000)
|
||||
self.T_ = self.pAS.T()
|
||||
self.rho_ = self.pAS.rhomass()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user