From ae94ee7daedb603c6088106f9640ddd334e7e855 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Tue, 16 Apr 2013 18:00:56 +0200
Subject: [PATCH] Adjust to computeEnergy interface

---
 dune/tectonic/myblockproblem.hh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh
index e2628557..bd7f96ed 100644
--- a/dune/tectonic/myblockproblem.hh
+++ b/dune/tectonic/myblockproblem.hh
@@ -19,9 +19,8 @@
 /* Just for debugging */
 template <int dim, class MatrixType, class VectorType>
 double computeEnergy(
-    MatrixType const &A, VectorType const &b,
-    Dune::GlobalNonlinearity<MatrixType, VectorType> const &phi,
-    VectorType const &x) {
+    MatrixType const &A, VectorType const &x, VectorType const &b,
+    Dune::GlobalNonlinearity<MatrixType, VectorType> const &phi) {
   double ret;
   VectorType tmp(x.size());
   A.mv(x, tmp);          //            Ax
-- 
GitLab