From d5629645e7b6dd82c981c18ee9ebc00906411bed Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 9 Feb 2007 17:29:45 +0000 Subject: [PATCH] Do not mark local variables static. They are EVIL. git-svn-id: https://svn.dealii.org/trunk@14455 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/tria_accessor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/source/grid/tria_accessor.cc b/deal.II/deal.II/source/grid/tria_accessor.cc index a554bb5ce8..c10307c352 100644 --- a/deal.II/deal.II/source/grid/tria_accessor.cc +++ b/deal.II/deal.II/source/grid/tria_accessor.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -1636,7 +1636,7 @@ Point<3> TriaObjectAccessor<3, 3>::barycenter () const template <> double TriaObjectAccessor<3, 3>::measure () const { - static unsigned int vertex_indices[GeometryInfo<3>::vertices_per_cell]; + unsigned int vertex_indices[GeometryInfo<3>::vertices_per_cell]; for (unsigned int i=0; i::vertices_per_cell; ++i) vertex_indices[i]=vertex_index(i); -- 2.39.5