mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-23 12:58:03 -05:00
Exposes values for minimum and maximum fractions for incompressibles
Closes https://github.com/CoolProp/CoolProp/issues/233 Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -195,7 +195,10 @@ double AbstractState::trivial_keyed_output(int key)
|
||||
return this->calc_GWP20();
|
||||
case iGWP500:
|
||||
return this->calc_GWP500();
|
||||
|
||||
case ifraction_min:
|
||||
return this->calc_fraction_min();
|
||||
case ifraction_max:
|
||||
return this->calc_fraction_max();
|
||||
default:
|
||||
throw ValueError(format("This input [%d: \"%s\"] is not valid for trivial_keyed_output",key,get_parameter_information(key,"short").c_str()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user