From a513dd988de23ead920ffb54549c3a3b2a5fd17c Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 23 Sep 2008 20:00:19 +0000 Subject: [PATCH] Allow default argument on SparseILU::initialize. git-svn-id: https://svn.dealii.org/trunk@16904 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/news/changes.h | 11 +++++++++++ deal.II/lac/include/lac/sparse_ilu.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index c107036e13..7973f74c2e 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -265,6 +265,17 @@ inconvenience this causes.

lac

    +
  1. +

    + Improved: The SparseILU::initialize function, for some reason, required + the second argument, SparseILU::AdditionalParameters, to be present even + if it is a default constructed object. This argument now has a default value + that equates to a default constructed object that can therefore be omitted + when so desired. +
    + (WB 2008/09/23) +

    +
  2. Improved: The CompressedSparsityPattern can now elide some operations diff --git a/deal.II/lac/include/lac/sparse_ilu.h b/deal.II/lac/include/lac/sparse_ilu.h index 28b8565290..b5938cbcec 100644 --- a/deal.II/lac/include/lac/sparse_ilu.h +++ b/deal.II/lac/include/lac/sparse_ilu.h @@ -112,7 +112,7 @@ class SparseILU : public SparseLUDecomposition */ template void initialize (const SparseMatrix &matrix, - const AdditionalData parameters); + const AdditionalData parameters = AdditionalData()); /** * This method is deprecated, and -- 2.39.5