raise internal error if quadratic() fails due to no real roots