]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make constructor explicit
authorTimo Heister <timo.heister@gmail.com>
Tue, 11 Jun 2013 16:47:50 +0000 (16:47 +0000)
committerTimo Heister <timo.heister@gmail.com>
Tue, 11 Jun 2013 16:47:50 +0000 (16:47 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29807 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/petsc_sparse_matrix.h

index 5644c940fd6ace30fbe8c1faf6c69f152caf96d6..ac36203b5093d953be947d8b080062059bc3aedb 100644 (file)
@@ -168,7 +168,7 @@ namespace PETScWrappers
      * the start.
      */
     template <typename SparsityType>
-    SparseMatrix (const SparsityType &sparsity_pattern,
+    explicit SparseMatrix (const SparsityType &sparsity_pattern,
                   const bool          preset_nonzero_locations = true);
 
     /**

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.