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:
Ian Bell
2014-09-18 19:17:27 +02:00
parent 5dcf810f0b
commit 978bea358d

View File

@@ -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()