OPM / opm-core

Collection of utilities, solvers and other components.

Home Page:http://www.opm-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dereferencing of end iterator happens in initStateEquil.hpp

blattms opened this issue · comments

InitialStateComputer OPM/opm-core/blob/131e900cf32cb3b55d8c4a83dc3a1a8904f70a8c/opm/core/simulator/initStateEquil.hpp#L267 has a problem for empty ranges. For one of testcases that I have received this is a problem as eqlmap.cells(i).begin()==eqlmap.cells(i).end() holds.

Even if it does not crash it will add bogus entries to rs_func_