Bugfix: currentStepNum() -> reportStepNum().

This commit is contained in:
Atgeirr Flø Rasmussen
2015-10-20 10:04:56 +02:00
parent 917d491a91
commit b47640db71

View File

@@ -1356,7 +1356,7 @@ void EclipseWriter::writeTimeStep(const SimulatorTimerInterface& timer,
0);
std::shared_ptr<const UnitSystem> unitsystem = eclipseState_->getDeckUnitSystem();
ert_ecl_unit_enum ecl_unit = convertUnitTypeErtEclUnitEnum(unitsystem->getType());
std::vector<WellConstPtr> wells = eclipseState_->getSchedule()->getWells(timer.currentStepNum());
std::vector<WellConstPtr> wells = eclipseState_->getSchedule()->getWells(timer.reportStepNum());
eclipseWriteRFTHandler->writeTimeStep(rft_filename,
ecl_unit,
timer,