lapack encountered