]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
get_data cannot return null pointer
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Jul 2011 17:03:06 +0000 (17:03 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Jul 2011 17:03:06 +0000 (17:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@23937 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/fe/fe_poly_face.templates.h

index 9d135840654d40b0a093a6ee68f56197ce25c852..aad6592d83f3cfc81b263c1f818aea252500b0fc 100644 (file)
@@ -90,7 +90,8 @@ FE_PolyFace<POLY,dim,spacedim>::get_data (
   const Mapping<dim,spacedim>&,
   const Quadrature<dim>&) const
 {
-  return 0;
+  InternalData* data = new InternalData;
+  return data;
 }
 
 

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.