Wrong check of quadratic definiteness