lapack guard