Actually return the value from the PropsSI function

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-09-18 18:48:18 +02:00
parent b1f8a2e8b6
commit b433dde061

View File

@@ -461,10 +461,8 @@ double PropsSI(const std::string &Output, const std::string &Name1, double Prop1
// Here is the real code that is inside the try block
extract_backend(Ref, backend, fluid);
double val = _PropsSI(Output, Name1, Prop1, Name2, Prop2, backend, fluid, std::vector<double>());
if (get_debug_level() > 1){
std::cout << format("_PropsSI will return %g",val) << std::endl;
}
if (get_debug_level() > 1){ std::cout << format("_PropsSI will return %g",val) << std::endl; }
return val;
// END OF TRY
#if !defined(PROPSSI_NO_ERROR_CATCH)
}