]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Allow default argument on SparseILU::initialize.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Sep 2008 20:00:19 +0000 (20:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 23 Sep 2008 20:00:19 +0000 (20:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@16904 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/lac/include/lac/sparse_ilu.h

index c107036e1369c10ea5f8671e2bf58c3f34fcea05..7973f74c2ee6d54147d7f581821da0141b24cc88 100644 (file)
@@ -265,6 +265,17 @@ inconvenience this causes.
 <h3>lac</h3>
 
 <ol>
+  <li>
+  <p>
+  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.
+  <br>
+  (WB 2008/09/23)
+  </p>
+
   <li>
   <p>
   Improved: The CompressedSparsityPattern can now elide some operations
index 28b85652903c69c7d51e1facf22f93a901c94996..b5938cbcec7009b829f24daaad65a2fc57178a33 100644 (file)
@@ -112,7 +112,7 @@ class SparseILU : public SparseLUDecomposition<number>
                                      */
     template <typename somenumber>
     void initialize (const SparseMatrix<somenumber> &matrix,
-                    const AdditionalData parameters);
+                    const AdditionalData parameters = AdditionalData());
 
                                     /**
                                      * This method is deprecated, and

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.