mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
Don't print chart detached unless there are charts.
Missing error message when mix solution not found. git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@6781 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
81521287cf
commit
64024732db
@ -163,8 +163,10 @@ ChartHandler::End_timer()
|
||||
//}
|
||||
}
|
||||
}
|
||||
//if (chart_map.size() > 0 && i < max_tries && i2 < max_tries)
|
||||
screen_msg("\rCharts detached. \n");
|
||||
if (chart_map.size() > 0)
|
||||
{
|
||||
screen_msg("\rCharts detached. \n");
|
||||
}
|
||||
this->timer = false;
|
||||
|
||||
return true;
|
||||
|
||||
@ -619,6 +619,9 @@ add_mix(cxxMix *mix_ptr)
|
||||
solution_ptr = Utilities::Rxn_find(Rxn_solution_map, it->first);
|
||||
if (solution_ptr == NULL)
|
||||
{
|
||||
error_string = sformatf( "Mix solution not found, %d.",
|
||||
it->first);
|
||||
error_msg(error_string, CONTINUE);
|
||||
input_error++;
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user