]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make things compile again :-(
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 03:13:43 +0000 (03:13 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 1 Nov 2010 03:13:43 +0000 (03:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@22560 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/full_matrix.templates.h

index 45c1267cf03c1f45b9056713738653d1ae5a6486..f5d34751eeefe403f4b6300c38cf235939495561 100644 (file)
@@ -616,7 +616,7 @@ void FullMatrix<number>::mmult (FullMatrix<number2>       &dst,
                                       // calculating the matrix-matrix
                                       // product.
       internal::gemm_switch::gemm(notrans, notrans, &m, &n, &k, &alpha, &src(0,0), &m,
-                                 this->val, &k, &beta, &dst(0,0), &m);
+                                 &this->val[0], &k, &beta, &dst(0,0), &m);
 
       return;
     }
@@ -704,7 +704,7 @@ void FullMatrix<number>::Tmmult (FullMatrix<number2>       &dst,
                                       // calculating the matrix-matrix
                                       // product.
       internal::gemm_switch::gemm(notrans, trans, &m, &n, &k, &alpha, &src(0,0), &m,
-                                 this->val, &n, &beta, &dst(0,0), &m);
+                                 &this->val[0], &n, &beta, &dst(0,0), &m);
 
       return;
     }
@@ -795,7 +795,7 @@ void FullMatrix<number>::mTmult (FullMatrix<number2>       &dst,
                                       // calculating the matrix-matrix
                                       // product.
       internal::gemm_switch::gemm(trans, notrans, &m, &n, &k, &alpha, &src(0,0), &k,
-                                 this->val, &k, &beta, &dst(0,0), &m);
+                                 &this->val[0], &k, &beta, &dst(0,0), &m);
 
       return;
     }
@@ -880,7 +880,7 @@ void FullMatrix<number>::TmTmult (FullMatrix<number2>       &dst,
                                       // calculating the matrix-matrix
                                       // product.
       internal::gemm_switch::gemm(trans, trans, &m, &n, &k, &alpha, &src(0,0), &k,
-                                 this->val, &n, &beta, &dst(0,0), &m);
+                                 &this->val[0], &n, &beta, &dst(0,0), &m);
 
       return;
     }
@@ -1797,7 +1797,7 @@ FullMatrix<number>::gauss_jordan ()
 
                                       // Use the LAPACK function getrf for 
                                       // calculating the LU factorization.
-      internal::getrf_switch::getrf(&nn, &nn, this->val, &nn, &ipiv[0], &info);
+      internal::getrf_switch::getrf(&nn, &nn, &this->val[0], &nn, &ipiv[0], &info);
 
       Assert(info >= 0, ExcInternalError());
       Assert(info == 0, LACExceptions::ExcSingular());
@@ -1808,7 +1808,7 @@ FullMatrix<number>::gauss_jordan ()
                                       // Use the LAPACK function getri for
                                       // calculating the actual inverse using
                                       // the LU factorization.
-      internal::getrf_switch::getri(&nn, this->val, &nn, &ipiv[0], &inv_work[0], &nn, &info);
+      internal::getrf_switch::getri(&nn, &this->val[0], &nn, &ipiv[0], &inv_work[0], &nn, &info);
 
       Assert(info >= 0, ExcInternalError());
       Assert(info == 0, LACExceptions::ExcSingular());

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.