Skip to content
Snippets Groups Projects
Commit b32f34c3 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Remove superfluous operator()

parent f9ccad38
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,6 @@ class DecayingExponential { ...@@ -15,8 +15,6 @@ class DecayingExponential {
typedef Dune::FieldVector<double, 1> VectorType; typedef Dune::FieldVector<double, 1> VectorType;
typedef Dune::FieldMatrix<double, 1, 1> MatrixType; typedef Dune::FieldMatrix<double, 1, 1> MatrixType;
double operator()(VectorType const &u) const { return std::exp(-u[0]); }
void directionalSubDiff(VectorType const &u, VectorType const &v, void directionalSubDiff(VectorType const &u, VectorType const &v,
Interval<double> &D) const { Interval<double> &D) const {
D[0] = D[1] = v[0] * (-std::exp(-u[0])); D[0] = D[1] = v[0] * (-std::exp(-u[0]));
......
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