aboutsummaryrefslogtreecommitdiff
path: root/src/lapack.cpp
diff options
context:
space:
mode:
authorPjotr Prins2018-08-31 12:00:36 +0000
committerPjotr Prins2018-08-31 12:00:36 +0000
commit86a002ae27171a3922d4bd9e7b46ff0df95c51ed (patch)
treeb12db47c4bdd8dccbdb1e3a7e9938b91c80edebe /src/lapack.cpp
parent5ddd1c8e54d7ac7026a689152392d70e68b77cb4 (diff)
downloadpangemma-86a002ae27171a3922d4bd9e7b46ff0df95c51ed.tar.gz
Continue debugging calcpab
Diffstat (limited to 'src/lapack.cpp')
-rw-r--r--src/lapack.cpp2
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;