Fixed bug in get_total_element

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@2067 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2007-06-04 22:49:27 +00:00
parent 4145b60e10
commit 0bebfae5a5

View File

@ -247,12 +247,9 @@ cxxNumKeyword()
}
}
}
cxxSolution::~cxxSolution()
{
}
struct solution *cxxSolution::cxxSolution2solution()
//
// Builds a solution structure from instance of cxxSolution
@ -927,7 +924,7 @@ double cxxSolution::get_total_element(char *string)const
int n;
char *ptr;
strcpy(token, it->first);
replace("(", "", token);
replace("(", " ", token);
ptr = token;
copy_token(token1, &ptr, &n);
if (strcmp(token1, string) == 0) {