#1727 Summary plot: Clear time steps list on summary file open method

This commit is contained in:
Rebecca Cox 2017-09-06 14:08:03 +02:00
parent a63b9611de
commit 7ecf21c402

View File

@ -69,6 +69,7 @@ bool RifReaderEclipseSummary::open(const std::string& headerFileName, const std:
if (m_ecl_sum)
{
m_timeSteps.clear();
m_ecl_SmSpec = ecl_sum_get_smspec(m_ecl_sum);
for ( int time_index = 0; time_index < timeStepCount(); time_index++ )