From b6e632bce6be271c7cf74bac65f3357f0de7d3a4 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 11 Oct 2011 14:49:42 +0000 Subject: [PATCH] bugfix: use std::vector instead of Dune::array to store local gfe coefficients [[Imported from SVN: r7879]] --- dune/gfe/geodesicfefunctionadaptor.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/gfe/geodesicfefunctionadaptor.hh b/dune/gfe/geodesicfefunctionadaptor.hh index 48a26f3f..cb192d0f 100644 --- a/dune/gfe/geodesicfefunctionadaptor.hh +++ b/dune/gfe/geodesicfefunctionadaptor.hh @@ -55,7 +55,7 @@ void geodesicFEFunctionAdaptor(GridType& grid, std::vector<TargetSpace>& x) for (; eIt!=eEndIt; ++eIt) { // Set up a local gfe function on the father element - Dune::array<TargetSpace,dim+1> coefficients; + std::vector<TargetSpace> coefficients(dim+1); for (int i=0; i<eIt->father()->template count<dim>(); i++) coefficients[i] = dofMap.find(idSet.subId(*eIt->father(),i,dim))->second; -- GitLab