From: kronbichler Date: Tue, 12 Feb 2013 10:40:51 +0000 (+0000) Subject: Fix some more deprecation warnings. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=000caee3ede010b9f431ed44e3fd63bce6777939;p=dealii-svn.git Fix some more deprecation warnings. git-svn-id: https://svn.dealii.org/trunk@28322 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/sparse_ilu.templates.h b/deal.II/include/deal.II/lac/sparse_ilu.templates.h index f80470bc3c..c695e9face 100644 --- a/deal.II/include/deal.II/lac/sparse_ilu.templates.h +++ b/deal.II/include/deal.II/lac/sparse_ilu.templates.h @@ -30,9 +30,10 @@ SparseILU::SparseILU () template -SparseILU::SparseILU (const SparsityPattern &sparsity) : - SparseLUDecomposition (sparsity) -{} +SparseILU::SparseILU (const SparsityPattern &sparsity) +{ + SparseMatrix::reinit(sparsity); +} diff --git a/deal.II/include/deal.II/lac/sparse_mic.templates.h b/deal.II/include/deal.II/lac/sparse_mic.templates.h index 8e6fda5e0f..bfb610dbd7 100644 --- a/deal.II/include/deal.II/lac/sparse_mic.templates.h +++ b/deal.II/include/deal.II/lac/sparse_mic.templates.h @@ -31,11 +31,12 @@ SparseMIC::SparseMIC () template SparseMIC::SparseMIC (const SparsityPattern &sparsity) : - SparseLUDecomposition (sparsity), diag(0), inv_diag(0), inner_sums(0) -{} +{ + SparseMatrix::reinit (sparsity); +} template @@ -94,7 +95,8 @@ void SparseMIC::reinit (const SparsityPattern &sparsity) tmp.swap (inner_sums); } - SparseLUDecomposition::reinit (sparsity); + SparseMatrix::reinit(sparsity); + this->decomposed = false; }