OPM/opm-autodiff — pull request #117 by atgeirr (2014-04-06 21:55:18+00:00)
Title: Fix NaNs for well equations.

This avoids a division by zero for wells that have zero flow rate (typically encountered as an initial state).

Taken together with OPM/opm-core#564, this avoid the NaNs previously encountered in the residuals.