mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
added initializing to pitz_param
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@9511 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
ba6f7f7bef
commit
371548b50c
@ -49,6 +49,11 @@ pitz_param_init(struct pitz_param *pitz_param_ptr)
|
||||
}
|
||||
pitz_param_ptr->alpha = 0.0;
|
||||
pitz_param_ptr->thetas = NULL;
|
||||
pitz_param_ptr->os_coef = 0.;
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
pitz_param_ptr->ln_coef[i] = 0.0;
|
||||
}
|
||||
return (OK);
|
||||
}
|
||||
|
||||
@ -82,7 +87,7 @@ pitz_param_read(char *string, int n)
|
||||
int j = copy_token(token, &ptr, &l);
|
||||
if (j == EMPTY)
|
||||
return (NULL);
|
||||
if (j != UPPER)
|
||||
if (j != UPPER && token[0] != '(')
|
||||
{
|
||||
input_error++;
|
||||
std::ostringstream err;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user