Merge pull request #965 from atgeirr/remove-unused-parameter

Remove unused 'restart' parameter from SimulatorTimer::init().
This commit is contained in:
Atgeirr Flø Rasmussen 2016-03-04 11:22:01 +01:00
commit eb0f59f96d
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ namespace Opm
}
/// Use the SimulatorTimer as a shim around opm-parser's Opm::TimeMap
void SimulatorTimer::init(Opm::TimeMapConstPtr timeMap, bool restart, size_t report_step)
void SimulatorTimer::init(Opm::TimeMapConstPtr timeMap, size_t report_step)
{
total_time_ = timeMap->getTotalTime();
timesteps_.resize(timeMap->numTimesteps());

View File

@ -47,7 +47,7 @@ namespace Opm
void init(const parameter::ParameterGroup& param);
/// Use the SimulatorTimer as a shim around opm-parser's Opm::TimeMap
void init(TimeMapConstPtr timeMap, bool restart = false, size_t report_step = 0);
void init(TimeMapConstPtr timeMap, size_t report_step = 0);
/// Total number of steps.
int numSteps() const;