mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-02-06 03:45:02 -05:00
Actually return the value from the PropsSI function
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user