mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-17 16:54:54 -05:00
Calling wells()->number_of_wells on nullptr causes segmentation fault. This occurs when running a deck without wells. Allowing WellsManager::init to continue for decks without wells enables the well struct to be set. Authored by Sveinung Rundhovde & Lars Petter Hauge