Merge pull request #1772 from atgeirr/fix-starttime-actionx
Fix start-time of ACTIONX actions.
This commit is contained in:
commit
e05e6f83ea
@ -530,7 +530,7 @@ Schedule::Schedule(const Deck& deck, const EclipseState& es, const ParseContext&
|
||||
while (true) {
|
||||
const auto& keyword = section.getKeyword(keywordIdx);
|
||||
if (keyword.name() == "ACTIONX") {
|
||||
Action::ActionX action(keyword, this->m_timeMap.getStartTime(currentStep + 1));
|
||||
Action::ActionX action(keyword, this->m_timeMap.getStartTime(currentStep));
|
||||
while (true) {
|
||||
keywordIdx++;
|
||||
if (keywordIdx == section.size())
|
||||
|
Loading…
Reference in New Issue
Block a user