Step, problem mu requires ah2o to be 1.0.

changed mix constructor to reset ah2o 0.0 before mixing.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@7073 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2012-11-09 23:23:49 +00:00
parent d7b2ab1ba5
commit 6ac877e770
2 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ cxxSolution::cxxSolution(std::map < int, cxxSolution > &solutions,
this->zero();
this->n_user = this->n_user_end = l_n_user;
this->new_def = false;
this->ah2o = 0;
//
// Mix solutions
//

View File

@ -308,7 +308,7 @@ xsolution_zero(void)
ph_x = 0.0;
solution_pe_x = 0.0;
mu_x = 0.0;
ah2o_x = 0.0;
ah2o_x = 1.0;
density_x = 0.0;
total_h_x = 0.0;
total_o_x = 0.0;