]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a few compiler errors.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Feb 2013 13:44:25 +0000 (13:44 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 6 Feb 2013 13:44:25 +0000 (13:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@28253 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/sparse_mic.templates.h
deal.II/source/lac/sparsity_pattern.cc
deal.II/source/lac/sparsity_tools.cc

index f760b384900a8fff4c1c722d9961f9576c9ea4dc..8e6fda5e0feb1d392614fb469a9ee2939e3218cb 100644 (file)
@@ -160,7 +160,6 @@ SparseMIC<number>::get_rowsum (const unsigned int row) const
 {
   Assert(this->m()==this->n(), ExcNotQuadratic());
 
-  const unsigned int *const first_after_diagonal = this->prebuilt_lower_bound[row];
   number rowsum = 0;
   for (typename SparseMatrix<number>::const_iterator
        p = this->begin(row)+1;
index c67b58d45412d88592ee8be3ad159dc274460288..5fa9044356189860a66d367043ca2cbbaed87fa5 100644 (file)
@@ -678,7 +678,7 @@ SparsityPattern::copy_from (const CSP &csp)
 
 template <typename number>
 void SparsityPattern::copy_from (const FullMatrix<number> &matrix,
-                                 const bool optimize_diag)
+                                 const bool)
 {
   copy_from (matrix);
 }
index c86cb0c60c83eff722861f99f0373387dce7e6cb..776ce894483bff1d4b2a32e648ab6a70edf9848c 100644 (file)
@@ -163,7 +163,8 @@ namespace SparsityTools
                   break;
               // post-condition after loop: coordination, i.e. the number of
               // entries in this row is now j-rowstart[row]
-              if (j-sparsity.begin(row) <  min_coordination)
+              if (static_cast<unsigned int>(j-sparsity.begin(row)) <
+                  min_coordination)
                 {
                   min_coordination = j-sparsity.begin(row);
                   starting_point   = row;

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.