]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove an assertion that was not in the original DEAL implementation
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Mar 1999 10:19:20 +0000 (10:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Mar 1999 10:19:20 +0000 (10:19 +0000)
and seems incorrect (at least the GMRES solver relied on these
assertions being invalid).

git-svn-id: https://svn.dealii.org/trunk@1053 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/full_matrix.templates.h

index 4abcbf415ee2c3ea386318c4447590d9a2ce7c03..b1eaf560f08746bbe323c2ebee5df501fba1248f 100644 (file)
@@ -435,10 +435,6 @@ template <typename number>
 template <typename number2>
 void FullMatrix<number>::backward (Vector<number2>& dst, const Vector<number2>& src) const
 {
-  Assert(n() <= m(), ExcNotQuadratic());
-  Assert(dst.size() == n(), ExcDimensionMismatch(dst.size(), n()));
-  Assert(src.size() == m(), ExcDimensionMismatch(src.size(), m()));
-
   unsigned int j;
   unsigned int nu = (m()<n() ? m() : n());
   double s;

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.