]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test for inequality instead. 4774/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 10 Aug 2017 22:30:45 +0000 (00:30 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 10 Aug 2017 22:30:45 +0000 (00:30 +0200)
source/grid/grid_in.cc

index c8598cce4176bfc7ece8b9cab029a279da226197..fb94862a0e35ae022289adc8c46175f8e65abbaf 100644 (file)
@@ -2077,7 +2077,7 @@ void GridIn<3>::read_netcdf (const std::string &filename)
   // as it denotes an internal face
   for (unsigned int i=0; i<bmarker.size(); ++i)
     Assert(0<=bmarker[i] &&
-           static_cast<types::boundary_id>(bmarker[i])<numbers::internal_face_boundary_id,
+           static_cast<types::boundary_id>(bmarker[i])!=numbers::internal_face_boundary_id,
            ExcIO());
 
   // finally we setup the boundary

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.