From 000caee3ede010b9f431ed44e3fd63bce6777939 Mon Sep 17 00:00:00 2001 From: kronbichler Date: Tue, 12 Feb 2013 10:40:51 +0000 Subject: [PATCH] Fix some more deprecation warnings. git-svn-id: https://svn.dealii.org/trunk@28322 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/sparse_ilu.templates.h | 7 ++++--- deal.II/include/deal.II/lac/sparse_mic.templates.h | 8 +++++--- 2 files changed, 9 insertions(+), 6 deletions(-) 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; } -- 2.39.5