From 5e23f440df528abd64aeb31776dc54ab9e149e45 Mon Sep 17 00:00:00 2001 From: David L Parkhurst Date: Fri, 5 Feb 2010 17:11:16 +0000 Subject: [PATCH] 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 --- GasPhase.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GasPhase.cxx b/GasPhase.cxx index 4deae732..cfba99be 100644 --- a/GasPhase.cxx +++ b/GasPhase.cxx @@ -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;