diff --git a/src/gradient-flow.cc b/src/gradient-flow.cc
index a8e9403597ab46a55396cea9ac4c709ab7b7e6f4..7f43e9f7e587783cca44054bde02c476cd88b6f6 100644
--- a/src/gradient-flow.cc
+++ b/src/gradient-flow.cc
@@ -41,7 +41,7 @@
 #include <dune/gfe/embeddedglobalgfefunction.hh>
 
 // grid dimension
-const int dim = 2;
+const int dim = 1;
 
 // Image space of the geodesic fe functions
 // typedef Rotation<double,2> TargetSpace;