Made pressurs a synonym of total_p in gas_phase_modify.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@4011 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2010-02-05 17:11:16 +00:00
parent 7b777201e2
commit 5e23f440df

View File

@ -273,6 +273,7 @@ cxxGasPhase::read_raw(PHREEQC_PTR_ARG_COMMA CParser & parser, bool check)
vopts.push_back("total_p"); //1
vopts.push_back("volume"); //2
vopts.push_back("component"); //3
vopts.push_back("pressure"); //4
}
std::istream::pos_type ptr;
@ -337,6 +338,7 @@ cxxGasPhase::read_raw(PHREEQC_PTR_ARG_COMMA CParser & parser, bool check)
break;
case 1: // total_p
case 4: // pressure
if (!(parser.get_iss() >> this->total_p))
{
this->total_p = 0;