Nils Wagner a écrit : > If the Cholesky decomposition doesn't exist, the matrix is not positive > definite. > Yes, but you catch an exception if it is not positive definite (ok you can still use try/except). I was thinking of somewhat similar to test the sign of the eigenvalues for instance. Cheers, -- http://scipy.org/FredericPetit