From 1ac3a86c48e2069d5133245cecbb7a5dc090c4bd Mon Sep 17 00:00:00 2001 From: kanschat Date: Sat, 9 Jul 2011 17:03:06 +0000 Subject: [PATCH] get_data cannot return null pointer 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/include/deal.II/fe/fe_poly_face.templates.h b/deal.II/include/deal.II/fe/fe_poly_face.templates.h index 9d13584065..aad6592d83 100644 --- a/deal.II/include/deal.II/fe/fe_poly_face.templates.h +++ b/deal.II/include/deal.II/fe/fe_poly_face.templates.h @@ -90,7 +90,8 @@ FE_PolyFace::get_data ( const Mapping&, const Quadrature&) const { - return 0; + InternalData* data = new InternalData; + return data; } -- 2.39.5