]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
assert valid enum state
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Nov 2012 00:08:45 +0000 (00:08 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Nov 2012 00:08:45 +0000 (00:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@27420 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/grid_out.cc

index 7764bc00bc8c18a222f109cf5bd01221d248806f..de3414ff95b10b529eab6f7ceaa6e6ce9b5da39c 100644 (file)
@@ -1183,6 +1183,8 @@ void GridOut::write_xfig (
        case GridOutFlags::XFig::level_subdomain_id:
                out << cell->level_subdomain_id() + 32;
                break;
+       default:
+         Assert(false, ExcInternalError());
        }
 
                                        // Depth, unused, fill

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.