mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
More stupid mistakes in the incompressibles fixed, thanks to Luke Erickson for reporting #429, which is fixed now.
This commit is contained in:
@@ -27,7 +27,7 @@ void IncompressibleFluid::set_reference_state(double T0, double p0, double x0, d
|
||||
this->uref = 0.0;
|
||||
this->uref = u(T0,p0,x0) - h0; // (value without ref) - (desired ref)
|
||||
this->sref = 0.0;
|
||||
this->sref = s(T0,p0,x0) - s0; // (value without ref) - (desired ref)
|
||||
this->sref = s(T0,p0,x0);
|
||||
}
|
||||
|
||||
void IncompressibleFluid::validate(){
|
||||
|
||||
Reference in New Issue
Block a user