Added generate_update_pair function to python

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-11-19 13:21:08 -05:00
parent 914daf3c63
commit 09bdf671c7
6 changed files with 49 additions and 23 deletions

View File

@@ -384,8 +384,8 @@ double _PropsSI(const std::string &Output, const std::string &Name1, double Prop
return val;
}
long iName1 = get_parameter_index(Name1);
long iName2 = get_parameter_index(Name2);
parameters iName1 = get_parameter_index(Name1);
parameters iName2 = get_parameter_index(Name2);
if (State->using_mole_fractions()){
State->set_mole_fractions(fractions);