Skip to content

Commit

Permalink
Fix HAPropsSI bug; closes #740
Browse files Browse the repository at this point in the history
  • Loading branch information
ibell committed Aug 2, 2015
1 parent d7f2c27 commit 55143c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HumidAirProp.cpp
Expand Up @@ -1220,7 +1220,7 @@ double WetbulbTemperature(double T, double p, double psi_w)

double return_val;
try{
return_val = Brent(WBS,Tmax+1,200, DBL_EPSILON, 1e-12, 50, errstr);
return_val = Brent(WBS,Tmax+1,100, DBL_EPSILON, 1e-12, 50, errstr);

// Solution obtained is out of range (T>Tmax)
if (return_val > Tmax + 1) {throw CoolProp::ValueError();}
Expand Down

0 comments on commit 55143c0

Please sign in to comment.