From 2e46bd73b846c602b2639bfa0f55bf8472c8eb4e Mon Sep 17 00:00:00 2001 From: wolf Date: Sat, 18 Sep 2004 19:39:30 +0000 Subject: [PATCH] We need an initializer for some compilers. The actual data element is unused, though. git-svn-id: https://svn.dealii.org/trunk@9633 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/fe/fe_dgp_1d.cc | 4 ++-- deal.II/deal.II/source/fe/fe_dgp_2d.cc | 4 ++-- deal.II/deal.II/source/fe/fe_dgp_3d.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/fe/fe_dgp_1d.cc b/deal.II/deal.II/source/fe/fe_dgp_1d.cc index 656f16c269..26c435db30 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_1d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_1d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -162,7 +162,7 @@ sizeof(FE_DGP<1>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<1>::Matrices::projection_matrices[][GeometryInfo<1>::children_per_cell]; +const double * const FE_DGP<1>::Matrices::projection_matrices[][GeometryInfo<1>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<1>::Matrices::n_projection_matrices diff --git a/deal.II/deal.II/source/fe/fe_dgp_2d.cc b/deal.II/deal.II/source/fe/fe_dgp_2d.cc index 0fa32d7334..6873e325d5 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_2d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_2d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -519,7 +519,7 @@ sizeof(FE_DGP<2>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<2>::Matrices::projection_matrices[][GeometryInfo<2>::children_per_cell]; +const double * const FE_DGP<2>::Matrices::projection_matrices[][GeometryInfo<2>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<2>::Matrices::n_projection_matrices diff --git a/deal.II/deal.II/source/fe/fe_dgp_3d.cc b/deal.II/deal.II/source/fe/fe_dgp_3d.cc index c6af647cf1..8e418937c3 100644 --- a/deal.II/deal.II/source/fe/fe_dgp_3d.cc +++ b/deal.II/deal.II/source/fe/fe_dgp_3d.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -804,7 +804,7 @@ sizeof(FE_DGP<3>::Matrices::embedding[0]); */ template <> -const double * const FE_DGP<3>::Matrices::projection_matrices[][GeometryInfo<3>::children_per_cell]; +const double * const FE_DGP<3>::Matrices::projection_matrices[][GeometryInfo<3>::children_per_cell] = {{0}}; template <> const unsigned int FE_DGP<3>::Matrices::n_projection_matrices -- 2.39.5