OPM/opm-autodiff — pull request #204 by bska (2014-09-17 22:21:09+00:00)
Title: 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 probably not sufficient, to run two-phase problems without a "dummy" third phase.