]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a few this-> here and there. Fix one other bug as well.
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Mar 2005 20:01:58 +0000 (20:01 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 24 Mar 2005 20:01:58 +0000 (20:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@10237 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/lapack_full_matrix.cc

index 4d12f4e84c2144f531e597619067c224f8bad386..34d900dbd29e2a7324719fe5ecaf35131d727e41 100644 (file)
@@ -56,10 +56,10 @@ template <typename number2>
 LAPACKFullMatrix<number> &
 LAPACKFullMatrix<number>::operator = (const FullMatrix<number2>& M)
 {
-  Assert (n_rows() == M.m(), ExcDimensionMismatch(n_rows(), M.m()));
-  Assert (n_cols() == M.n(), ExcDimensionMismatch(n_cols(), M.n()));
-  for (unsigned int i=0;i<n_rows();++i)
-    for (unsigned int j=0;j<n_cols();++j)
+  Assert (this->n_rows() == M.m(), ExcDimensionMismatch(this->n_rows(), M.m()));
+  Assert (this->n_cols() == M.n(), ExcDimensionMismatch(this->n_cols(), M.n()));
+  for (unsigned int i=0;i<this->n_rows();++i)
+    for (unsigned int j=0;j<this->n_cols();++j)
       (*this)(i,j) = M(i,j);
   return *this;
 }
@@ -173,7 +173,7 @@ LAPACKFullMatrix<number>::Tvmult_add (
 }
 
 
-template LAPACKFullMatrix<double>;
+template class LAPACKFullMatrix<double>;
 template LAPACKFullMatrix<double> &
 LAPACKFullMatrix<double>::operator = (const FullMatrix<double>& M);
 template LAPACKFullMatrix<double> &

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.