diff options
author | Pjotr Prins | 2018-08-31 12:00:36 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-08-31 12:00:36 +0000 |
commit | 86a002ae27171a3922d4bd9e7b46ff0df95c51ed (patch) | |
tree | b12db47c4bdd8dccbdb1e3a7e9938b91c80edebe /src/lapack.cpp | |
parent | 5ddd1c8e54d7ac7026a689152392d70e68b77cb4 (diff) | |
download | pangemma-86a002ae27171a3922d4bd9e7b46ff0df95c51ed.tar.gz |
Continue debugging calcpab
Diffstat (limited to 'src/lapack.cpp')
-rw-r--r-- | src/lapack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lapack.cpp b/src/lapack.cpp index 6e43bd9..165a82d 100644 --- a/src/lapack.cpp +++ b/src/lapack.cpp @@ -239,6 +239,8 @@ void lapack_eigen_symmv(gsl_matrix *A, gsl_vector *eval, gsl_matrix *evec, double EigenDecomp(gsl_matrix *G, gsl_matrix *U, gsl_vector *eval, const size_t flag_largematrix) { lapack_eigen_symmv(G, eval, U, flag_largematrix); + assert(!has_nan(eval)); + // write(eval,"eval"); // Calculate track_G=mean(diag(G)). double d = 0.0; |