mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
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:
parent
4145b60e10
commit
0bebfae5a5
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user