diff --git a/fem/discfuncarray/dfadapt.cc b/fem/discfuncarray/dfadapt.cc index d694088d83360a803cb271a752a9d9695490d3b6..3eb493165bf645993659ec9d9b36b1350f5cf29b 100644 --- a/fem/discfuncarray/dfadapt.cc +++ b/fem/discfuncarray/dfadapt.cc @@ -15,7 +15,8 @@ namespace Dune { dm_(DofManagerFactoryType::getDofManager(f.grid())), memPair_(dm_.addDofSet(&dofVec_, f.mapper(), name_)), dofVec_ ( *memPair_.second ), - localFunc_ ( f , dofVec_ ) + localFunc_(*this) + //localFunc_ ( f , dofVec_ ) {} // Constructor making discrete function @@ -39,7 +40,8 @@ namespace Dune { dm_(df.dm_), memPair_(dm_.addDofSet(&dofVec_, df.functionSpace_.mapper(), name_)), dofVec_ ( *memPair_.second ), - localFunc_ ( df.localFunc_ ) + localFunc_(*this) + //localFunc_ ( df.localFunc_ ) { // copy values of array dofVec_ = df.dofVec_;