Skip to content
Snippets Groups Projects
Commit 0468e2ee authored by Felix Schindler's avatar Felix Schindler
Browse files

DiscreteOperator::Local::Codim0::Integral now holds a copy of the evalaution

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/dune-fem-functionals/trunk@228 4028485c-44d9-4cde-a312-5a4635ee2db9
parent 59f8ddde
No related branches found
No related tags found
No related merge requests found
......@@ -94,19 +94,17 @@ public:
InducingDiscreteFunctionType> Type;
};
Integral(const LocalEvaluationType& localEvaluation)
Integral(const LocalEvaluationType localEvaluation)
: localEvaluation_(localEvaluation)
{
}
private:
//! copy constructor
Integral(const ThisType& other)
: localEvaluation_(other.localEvaluation())
{
}
public:
const LocalEvaluationType& localEvaluation() const
{
return localEvaluation_;
......@@ -190,7 +188,7 @@ private:
//! assignment operator
ThisType& operator=(const ThisType&);
const LocalEvaluationType& localEvaluation_;
const LocalEvaluationType localEvaluation_;
}; // end class Codim0Integration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment