]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid warning about falling off the end of a function that returns non-void.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Mar 2010 15:39:54 +0000 (15:39 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Mar 2010 15:39:54 +0000 (15:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@20853 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_constraints.h

index 1d0df91266d35eba692b2c617bbe8bc345f93d67..c23d3e0ee0ef8a5e5c441a8468e8e878942caf9f 100644 (file)
@@ -24,6 +24,7 @@ DEAL_II_NAMESPACE_OPEN
 template <int dim, int spacedim> class MGDoFHandler;
 template <int dim> class FunctionMap;
 
+
 /**
  * Collection of boundary constraints and refinement edge constraints
  * for level vectors.
@@ -107,6 +108,9 @@ MGConstraints::at_boundary(unsigned int level, unsigned int index) const
 {
   AssertIndexRange(level, boundary_indices.size());
   AssertIndexRange(level, boundary_indices.size());
+
+  Assert (false, ExcNotImplemented());
+  return false;
 }
 
 

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.