mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-10 06:28:03 -05:00
Oops, use the converted double
This commit is contained in:
@@ -340,7 +340,7 @@ class Configuration
|
||||
auto skey = config_key_to_string(key);
|
||||
throw ValueError("Unable to convert \""+std::string(envval)+"\" to double for key ["+skey+"]");
|
||||
}
|
||||
items.erase(key); items.emplace(key, ConfigurationItem(key, std::stod(envval)));
|
||||
items.erase(key); items.emplace(key, ConfigurationItem(key, d));
|
||||
break;
|
||||
case ConfigurationDataTypes::CONFIGURATION_BOOL_TYPE:
|
||||
int b;
|
||||
|
||||
Reference in New Issue
Block a user