From ccd310298d75de3ab6ad144d57a11fc8a7a1ad8f Mon Sep 17 00:00:00 2001 From: David L Parkhurst Date: Wed, 12 Aug 2009 16:55:42 +0000 Subject: [PATCH] SOLUTION_RAW: c++ version used in PHAST misinterpreted the element Tc as the temperature identifier and crashed when additional elements followed in -totals or -activity_coefficients. Removed "tc" as an identifier for temperature. git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3613 1feff8c3-07ed-0310-ac33-dd36852eb9cd --- Solution.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Solution.cxx b/Solution.cxx index 47564806..68774f7a 100644 --- a/Solution.cxx +++ b/Solution.cxx @@ -554,7 +554,7 @@ cxxSolution::read_raw(CParser & parser) vopts.push_back("gammas"); // 2 vopts.push_back("isotopes"); // 3 vopts.push_back("temp"); // 4 - vopts.push_back("tc"); // 5 + vopts.push_back("tc_avoid_conflict_with_technetium"); // 5 vopts.push_back("temperature"); // 6 vopts.push_back("ph"); // 7 vopts.push_back("pe"); // 8 @@ -673,7 +673,7 @@ cxxSolution::read_raw(CParser & parser) break; case 4: // temp - case 5: // tc + case 5: // tc_avoid_conflict_with_technetium case 6: // temperature if (!(parser.get_iss() >> this->tc)) {