mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Revert part of #763d4ce to solve #974
This commit is contained in:
@@ -251,7 +251,7 @@ EXPORT_CODE long CONVENTION get_parameter_information_string(const char *param,
|
|||||||
{
|
{
|
||||||
try{
|
try{
|
||||||
int key = CoolProp::get_parameter_index(param);
|
int key = CoolProp::get_parameter_index(param);
|
||||||
std::string s = CoolProp::get_parameter_information(key, "long");
|
std::string s = CoolProp::get_parameter_information(key, Output);
|
||||||
return str2buf(s, Output, n) ? 1 : 0;
|
return str2buf(s, Output, n) ? 1 : 0;
|
||||||
}
|
}
|
||||||
catch(...){
|
catch(...){
|
||||||
|
|||||||
Reference in New Issue
Block a user