OPM/opm-autodiff — pull request #200 by totto82 (2014-09-11 07:06:48+00:00)
Title: Update oil saturation from changes in water and gas saturations

The oil saturation is updated based on changes in water and gas saturations instead of just put to 1-sg-sw after the update. Each saturation is then divided by the sum of the saturations in order for them to sum to 1.

This PR makes the code more robust for numerical artifacts that can cause phase translations.