]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Delete erroneous assertion: after reading everything in block_read,
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2002 21:47:52 +0000 (21:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Sep 2002 21:47:52 +0000 (21:47 +0000)
the input stream may not return true after conversion to bool, if we
have reached the end of the file. The assertion was thus wrong.

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

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

index 39c9a2372aa1527f23962fd60ab4602eb2426793..685fc90e0c1cb342bae0c1561f120c1343bf4934 100644 (file)
@@ -647,7 +647,6 @@ void Vector<Number>::block_read (std::istream &in)
                                   //  in >> c;
   in.read (&c, 1);
   AssertThrow (c==']', ExcIO());
-  AssertThrow (in, ExcIO());
 }
 
 

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.