Runs, getting xyz file right, checking results.

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@6864 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2012-08-10 23:02:55 +00:00
parent 7c5ca84682
commit a1f1ccae9e

View File

@ -1048,6 +1048,14 @@ void IPhreeqc::do_run(const char* sz_routine, std::istream* pis, PFN_PRERUN_CALL
}
if (!this->SelectedOutputFileOn) ASSERT(!this->punch_ostream);
// Consider this addition
{
this->PhreeqcPtr->pr.all = (this->OutputFileOn || this->OutputStringOn) ? TRUE : FALSE;
this->PhreeqcPtr->punch.in = (this->SelectedOutputFileOn || this->SelectedOutputStringOn) ? TRUE : FALSE;
}
/* the converse is not necessarily true */
this->PhreeqcPtr->n_user_punch_index = -1;