mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Predefined mixtures are added, can be accessed with a fluid name like R410A.mix
Closes https://github.com/CoolProp/CoolProp/issues/153 Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ AbstractState * AbstractState::factory(const std::string &backend, const std::st
|
||||
if (!backend.compare("HEOS"))
|
||||
{
|
||||
if (fluid_string.find('&') == std::string::npos){
|
||||
return new HelmholtzEOSBackend(&get_fluid(fluid_string));
|
||||
return new HelmholtzEOSBackend(fluid_string);
|
||||
}
|
||||
else{
|
||||
// Split at the '&'
|
||||
|
||||
Reference in New Issue
Block a user