From b32f34c3f61cd3156082f079904c0835edda54f5 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Thu, 15 Mar 2012 00:27:45 +0100 Subject: [PATCH] Remove superfluous operator() --- src/compute_state.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compute_state.cc b/src/compute_state.cc index 94e1a0d7..24e420a8 100644 --- a/src/compute_state.cc +++ b/src/compute_state.cc @@ -15,8 +15,6 @@ class DecayingExponential { typedef Dune::FieldVector<double, 1> VectorType; 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, Interval<double> &D) const { D[0] = D[1] = v[0] * (-std::exp(-u[0])); -- GitLab