Removed dead code
Nonlinearity was only checked for in equalities