Will not write summary data for report step == 0

This commit is contained in:
Joakim Hove 2018-09-13 18:08:57 +02:00
parent cf754c499d
commit 36af2aadb5

View File

@ -439,9 +439,10 @@ void EclipseIO::writeTimeStep(int report_step,
/*
Summary data is written unconditionally for every timestep.
Summary data is written unconditionally for every timestep except for the
very intial report_step==0 call, which is only garbage.
*/
{
if (report_step > 0) {
this->impl->summary.add_timestep( report_step,
secs_elapsed,
es,