]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warning
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 9 Feb 2014 19:39:01 +0000 (19:39 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 9 Feb 2014 19:39:01 +0000 (19:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@32441 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/lapack_full_matrix.cc

index c58afb3518e235bfae336ae3b15d1c34b1e84f1b..2731f40777238d061361bc8d31863cc22338def8 100644 (file)
@@ -238,7 +238,6 @@ LAPACKFullMatrix<number>::mmult(LAPACKFullMatrix<number>       &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<number>::mmult(FullMatrix<number>             &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<number>::Tmmult(LAPACKFullMatrix<number>       &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<number>::Tmmult(FullMatrix<number>             &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<number>::mTmult(LAPACKFullMatrix<number>       &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<number>::mTmult(FullMatrix<number>             &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<number>::TmTmult(LAPACKFullMatrix<number>       &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<number>::TmTmult(FullMatrix<number>             &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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.