mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fixed bug with derivative not being handled properly to _PropsSI
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -229,15 +229,10 @@ double _PropsSI(const std::string &Output, const std::string &Name1, double Prop
|
||||
return val;
|
||||
}
|
||||
}
|
||||
else{
|
||||
throw ValueError(format("Invalid output parameter [%s]",Output.c_str()));
|
||||
}
|
||||
|
||||
parameters iName1 = get_parameter_index(Name1);
|
||||
parameters iName2 = get_parameter_index(Name2);
|
||||
|
||||
|
||||
|
||||
// Obtain the input pair
|
||||
CoolProp::input_pairs pair = generate_update_pair(iName1, Prop1, iName2, Prop2, x1, x2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user