diff options
author | Pjotr Prins | 2017-11-10 15:47:41 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-11-10 15:47:41 +0000 |
commit | 47b3260e7842656f1882686a593bb374545158dc (patch) | |
tree | 1b1d915a77c1a448499177e313930e2fbf3faf62 /src/vc.cpp | |
parent | cede477719d288304fbea9d83678055e0711cf27 (diff) | |
download | pangemma-47b3260e7842656f1882686a593bb374545158dc.tar.gz |
Remove compiler warnings
Diffstat (limited to 'src/vc.cpp')
-rw-r--r-- | src/vc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1935,7 +1935,7 @@ void VC::CalcVCacl(const gsl_matrix *K, const gsl_matrix *W, size_t n1 = K->size1, n2 = K->size2; size_t n_vc = n2 / n1; - double d, y2_sum, tau_inv, se_tau_inv; + double d, y2_sum, tau_inv; // New matrices/vectors. gsl_matrix *K_scale = gsl_matrix_alloc(n1, n2); @@ -2134,7 +2134,7 @@ void VC::CalcVCacl(const gsl_matrix *K, const gsl_matrix *W, // Compute variance for tau_inv. gsl_blas_dgemv(CblasNoTrans, 1.0, V_mat, y_scale, 0.0, n1_vec); gsl_blas_ddot(y_scale, n1_vec, &d); - se_tau_inv = sqrt(2 * d) / (double)n1; + // auto se_tau_inv = sqrt(2 * d) / (double)n1; UNUSED // Transform pve back to the original scale and save data. v_pve.clear(); |