about summary refs log tree commit diff
path: root/src/lmm.cpp
diff options
context:
space:
mode:
authorPjotr Prins2020-09-28 13:52:44 +0100
committerPjotr Prins2020-09-29 13:04:09 +0100
commit1cd41f0f6f1fe401d6bdc33a5c33794adb1452a6 (patch)
tree36c5837ac135da4f2df1f53718f01030395d973b /src/lmm.cpp
parenta59bc9ac72e3edd27ff1b36a70c001c8d1949c56 (diff)
downloadpangemma-1cd41f0f6f1fe401d6bdc33a5c33794adb1452a6.tar.gz
Fixing Travis build, remove gcc warnings and bump version
Diffstat (limited to 'src/lmm.cpp')
-rw-r--r--src/lmm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lmm.cpp b/src/lmm.cpp
index b811594..6337116 100644
--- a/src/lmm.cpp
+++ b/src/lmm.cpp
@@ -278,8 +278,8 @@ void CalcPab(const size_t n_cvt, const size_t e_mode, const gsl_vector *Hi_eval,
              const gsl_matrix *Uab, const gsl_vector *unused, gsl_matrix *Pab) {
 
 
-  size_t n_index = (n_cvt + 2 + 1) * (n_cvt + 2) / 2; // result size
-  auto ni_test = Uab->size1; // inds
+  // size_t n_index = (n_cvt + 2 + 1) * (n_cvt + 2) / 2; // result size
+  // auto ni_test = Uab->size1; // inds
   assert(Uab->size1 == Hi_eval->size);
   assert(Uab->size2 == n_index);
 
@@ -593,8 +593,8 @@ $7 = 3
 $8 = 6
   */
 
-  auto Uab = p->Uab;
-  auto ab = p->ab;
+    // auto Uab = p->Uab;
+    // auto ab = p->ab;
   assert(n_index == (n_cvt + 2 + 1) * (n_cvt + 2) / 2);
   assert(Uab->size1 == ni_test);
   assert(Uab->size2 == n_index); // n_cvt == 1 -> n_index == 6?