]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a block read assertion in VectorSpaceVector. 2357/head
authorDavid Wells <wellsd2@rpi.edu>
Wed, 16 Mar 2016 17:51:02 +0000 (13:51 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Wed, 16 Mar 2016 17:51:02 +0000 (13:51 -0400)
Caught by intel 13.

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

index 9c69b9c78dff417fbda863e270fa513c8fa6af2a..95e8465435667e747afae18e6348d37aea049db9 100644 (file)
@@ -398,7 +398,7 @@ namespace LinearAlgebra
 
     // in >> c;
     in.read(&c,1);
-    AssertThrow(c=']', ExcIO());
+    AssertThrow(c==']', 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.