]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Removed an unnecessary assertion.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Nov 2008 13:15:57 +0000 (13:15 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 21 Nov 2008 13:15:57 +0000 (13:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@17676 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/trilinos_sparse_matrix.cc

index 6b33306a8f3660664bc181af3022cf023fe09388..50a86af64bbd67afd4d6b2d66a7070eece099178 100755 (executable)
@@ -1241,8 +1241,6 @@ namespace TrilinosWrappers
   SparseMatrix::vmult_add (VectorBase       &dst,
                           const VectorBase &src) const
   {
-    Assert (&src != &dst, ExcSourceEqualsDestination());
-
     temp_vector.reinit(dst);
 
     vmult (dst, src);
@@ -1255,8 +1253,6 @@ namespace TrilinosWrappers
   SparseMatrix::Tvmult_add (VectorBase       &dst,
                            const VectorBase &src) const
   {
-    Assert (&src != &dst, ExcSourceEqualsDestination());
-
     temp_vector.reinit(dst);
 
     vmult (dst, src);

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.