mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Leftover for CID 38598
This commit is contained in:
@@ -130,7 +130,7 @@ public:
|
||||
|
||||
solver_TP_resid(HelmholtzEOSMixtureBackend &HEOS, CoolPropDbl T, CoolPropDbl p):
|
||||
HEOS(&HEOS),T(T),p(p),rhor(HEOS.get_reducing_state().rhomolar),
|
||||
tau(HEOS.get_reducing_state().T/T),R_u(HEOS.gas_constant()) {}
|
||||
tau(HEOS.get_reducing_state().T/T),R_u(HEOS.gas_constant()),delta(-_HUGE) {}
|
||||
double call(double rhomolar){
|
||||
delta = rhomolar/rhor; // needed for derivative
|
||||
HEOS->update_DmolarT_direct(rhomolar, T);
|
||||
|
||||
Reference in New Issue
Block a user