One more fix for gas_phase (new_def)

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@7612 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2013-04-02 22:47:47 +00:00
parent 8696224afa
commit da493bbb7c

View File

@ -905,7 +905,7 @@ tidy_gas_phase(void)
cxxGasPhase *gas_phase_ptr = &(it->second);
//if (!gas_phase_ptr->Get_new_def())
// continue;
gas_phase_ptr->Set_new_def(false);
//gas_phase_ptr->Set_new_def(false);
PR = false;
P = 0.0;
std::vector<cxxGasComp> gc = gas_phase_ptr->Get_gas_comps();
@ -930,6 +930,7 @@ tidy_gas_phase(void)
gas_phase_ptr->Set_pr_in(PR);
if (gas_phase_ptr->Get_new_def())
{
gas_phase_ptr->Set_new_def(false);
/*
* Fixed pressure
*/