Exported set_reference_stateD through the library

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-27 20:17:38 -04:00
parent 67bf8f528b
commit 70e9e14226
2 changed files with 23 additions and 9 deletions

View File

@@ -813,7 +813,7 @@ void set_reference_stateS(std::string Ref, std::string reference_state)
throw ValueError(format("reference state string is invalid: [%s]",reference_state.c_str()));
}
}
int set_reference_stateD(std::string Ref, double T, double rhomolar, double h0, double s0)
void set_reference_stateD(std::string Ref, double T, double rhomolar, double h0, double s0)
{
shared_ptr<CoolProp::HelmholtzEOSMixtureBackend> HEOS;
std::vector<std::string> _comps(1, Ref);