From 59930ae256dda7739adf2ef0f209e16b4b41829d Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 31 Jul 2012 22:30:03 +0200 Subject: [PATCH] Cleanup --- dune/tectonic/circularconvexfunction.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dune/tectonic/circularconvexfunction.hh b/dune/tectonic/circularconvexfunction.hh index ab721405..65f79b5d 100644 --- a/dune/tectonic/circularconvexfunction.hh +++ b/dune/tectonic/circularconvexfunction.hh @@ -27,10 +27,9 @@ template <class MatrixType, class VectorType> class CircularConvexFunction { tangent(m, t); VectorType tmp; - A.mv(x, tmp); // Ax - tmp -= b; // Ax - b - double const dotp = tmp * t; // <Ax - b,t> - D[0] = D[1] = dotp; + A.mv(x, tmp); // Ax + tmp -= b; // Ax - b + D[0] = D[1] = tmp * t; // <Ax - b,t> } void domain(Interval<double> &domain) const { -- GitLab