From 93379162f1fe29f1126981154480f1bacf8859bd Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 8 Mar 2018 12:21:40 -0500 Subject: [PATCH] remove LAPACK warning about uninitialized info variable --- source/lac/lapack_full_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lac/lapack_full_matrix.cc b/source/lac/lapack_full_matrix.cc index cd23a761cd..e4fe45e388 100644 --- a/source/lac/lapack_full_matrix.cc +++ b/source/lac/lapack_full_matrix.cc @@ -194,7 +194,7 @@ LAPACKFullMatrix::operator*= (const number factor) const types::blas_int m = this->m(); const types::blas_int n = this->n(); const types::blas_int lda = this->m(); - types::blas_int info; + types::blas_int info = 0; // kl and ku will not be referenced for type = G (dense matrices). const types::blas_int kl=0; number *values = &this->values[0]; @@ -224,7 +224,7 @@ LAPACKFullMatrix::operator/= (const number factor) const types::blas_int m = this->m(); const types::blas_int n = this->n(); const types::blas_int lda = this->m(); - types::blas_int info; + types::blas_int info = 0; // kl and ku will not be referenced for type = G (dense matrices). const types::blas_int kl=0; number *values = &this->values[0]; -- 2.39.5