]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix an assertion in read_tecplot to not use '='. 2358/head
authorDavid Wells <wellsd2@rpi.edu>
Thu, 17 Mar 2016 00:22:56 +0000 (20:22 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Thu, 17 Mar 2016 00:22:56 +0000 (20:22 -0400)
source/grid/grid_in.cc

index a9555ecb36ddf3cd5eaebffbe8b4e29ccdb4703f..df169e1498b881cdabfe0f8f6c758b8a07808673 100644 (file)
@@ -2437,7 +2437,7 @@ void GridIn<2>::read_tecplot (std::istream &in)
             cells[cell].vertices[3]=i  +(j+1)*I;
             ++cell;
           }
-      Assert(cell=n_cells, ExcInternalError());
+      Assert(cell==n_cells, ExcInternalError());
       std::vector<unsigned int> boundary_vertices(2*I+2*J-4);
       unsigned int k=0;
       for (unsigned int i=1; i<I+1; ++i)

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.