mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
tweak if tidy_min_surface is invoked on a _raw definition.
git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@10633 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
ae2286eb41
commit
dec66bb848
11
tidy.cpp
11
tidy.cpp
@ -3917,8 +3917,15 @@ tidy_min_surface(void)
|
||||
free_check_null(temp_formula);
|
||||
}
|
||||
{
|
||||
cxxNameDouble nd = elt_list_NameDouble();
|
||||
surface_comp_ptr->Set_totals(nd);
|
||||
if (surface_ptr->Get_new_def())
|
||||
{
|
||||
cxxNameDouble nd = elt_list_NameDouble();
|
||||
surface_comp_ptr->Set_totals(nd);
|
||||
}
|
||||
else
|
||||
{
|
||||
surface_comp_ptr->Get_totals()[surface_comp_ptr->Get_master_element()] = conc;
|
||||
}
|
||||
}
|
||||
|
||||
/* area */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user