OPM/opm-core — pull request #582 by atgeirr (2014-04-24 13:47:13+00:00)
Title: Add missing break statements in switch, add default case.

This fixes a bug that resulted in wrong Wells::comp_frac values.

I think it is the first time I have made this mistake, but I worry that I do not know of a watertight method (compiler warnings etc.) that will keep me from making it again. I'd appreciate any suggestions.