From 95dd75e7b4dfe0cf23ee7fce35fe6f1edd4bdf39 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 9 Feb 2014 19:39:01 +0000 Subject: [PATCH] Avoid warning git-svn-id: https://svn.dealii.org/trunk@32441 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/lapack_full_matrix.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/deal.II/source/lac/lapack_full_matrix.cc b/deal.II/source/lac/lapack_full_matrix.cc index c58afb3518..2731f40777 100644 --- a/deal.II/source/lac/lapack_full_matrix.cc +++ b/deal.II/source/lac/lapack_full_matrix.cc @@ -238,7 +238,6 @@ LAPACKFullMatrix::mmult(LAPACKFullMatrix &C, const int kk = this->n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; gemm("N", "N", &mm, &nn, &kk, &alpha, &this->values[0], &mm, &B.values[0], &kk, &beta, &C.values[0], &mm); @@ -262,7 +261,6 @@ LAPACKFullMatrix::mmult(FullMatrix &C, const int kk = this->n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; // since FullMatrix stores the matrix in transposed order compared to this // matrix, compute B^T * A^T = (A * B)^T @@ -289,7 +287,6 @@ LAPACKFullMatrix::Tmmult(LAPACKFullMatrix &C, const int kk = B.n_rows(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; gemm("T", "N", &mm, &nn, &kk, &alpha, &this->values[0], &kk, &B.values[0], &kk, &beta, &C.values[0], &mm); @@ -313,7 +310,6 @@ LAPACKFullMatrix::Tmmult(FullMatrix &C, const int kk = B.n_rows(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; // since FullMatrix stores the matrix in transposed order compared to this // matrix, compute B^T * A = (A^T * B)^T @@ -340,7 +336,6 @@ LAPACKFullMatrix::mTmult(LAPACKFullMatrix &C, const int kk = B.n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; gemm("N", "T", &mm, &nn, &kk, &alpha, &this->values[0], &mm, &B.values[0], &nn, &beta, &C.values[0], &mm); @@ -364,7 +359,6 @@ LAPACKFullMatrix::mTmult(FullMatrix &C, const int kk = B.n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; // since FullMatrix stores the matrix in transposed order compared to this // matrix, compute B * A^T = (A * B^T)^T @@ -391,7 +385,6 @@ LAPACKFullMatrix::TmTmult(LAPACKFullMatrix &C, const int kk = B.n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; gemm("T", "T", &mm, &nn, &kk, &alpha, &this->values[0], &kk, &B.values[0], &nn, &beta, &C.values[0], &mm); @@ -415,7 +408,6 @@ LAPACKFullMatrix::TmTmult(FullMatrix &C, const int kk = B.n_cols(); const number alpha = 1.; const number beta = (adding ? 1. : 0.); - const number null = 0.; // since FullMatrix stores the matrix in transposed order compared to this // matrix, compute B * A = (A^T * B^T)^T -- 2.39.5