OPM/opm-autodiff — pull request #137 by atgeirr (2014-05-16 07:11:42+00:00)
Title: Fix two bugs in updateWellControls().

The bugs were:
- Not accounting for the different storage orders used for the
state.qs variable and the WellState*::wellRates() field.
- When switching to rate control, well rates for phases other
than that to be controlled by were set to zero.

Also rewrote a comment about the storage orders to be more precise.