mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-01 01:15:11 -05:00
calc_alpha0_deriv_nocache error message more verbose
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -2256,7 +2256,7 @@ long double HelmholtzEOSMixtureBackend::calc_alpha0_deriv_nocache(const int nTau
|
||||
}
|
||||
if (!ValidNumber(val)){
|
||||
//calc_alpha0_deriv_nocache(nTau,nDelta,mole_fractions,tau,delta,Tr,rhor);
|
||||
throw ValueError(format("calc_alpha0_deriv_nocache returned invalid number with inputs nTau: %d, nDelta: %d", nTau, nDelta));
|
||||
throw ValueError(format("calc_alpha0_deriv_nocache returned invalid number with inputs nTau: %d, nDelta: %d, tau: %Ld, delta: %Ld", nTau, nDelta, tau, delta));
|
||||
}
|
||||
else{
|
||||
return val;
|
||||
|
||||
Reference in New Issue
Block a user