opm-simulators/opm
Bård Skaflestad a0567cc887 Fix out-of-bounds indexing into PVT function table
The 'props_' table of PVT functions has one entry for each active
phase.  Fix four instances of indexing into the table using the
canonical rather than active phase indices.

This is necessary, but not sufficient, to run two-phase problems
without a "dummy" third phase.
2014-09-18 00:19:35 +02:00
..
autodiff Fix out-of-bounds indexing into PVT function table 2014-09-18 00:19:35 +02:00