diff --git a/dune/tectonic/myblockproblem.hh b/dune/tectonic/myblockproblem.hh
index e2628557a9e590708cbd37a858452acfa434c57a..bd7f96edd1171255006b18df7f53919e20a4cc86 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