diff --git a/staticrod.cc b/staticrod.cc
index 5c71db8864efa50d76cb978059eed4553330be80..48d8b893c24731d35713a6f3c92f82e54325666d 100644
--- a/staticrod.cc
+++ b/staticrod.cc
@@ -191,7 +191,7 @@ int main (int argc, char *argv[]) try
     MonotoneMGStep<MatrixType, VectorType> multigridStep(maxlevel+1);
 
     multigridStep.setMGType(mu, nu1, nu2);
-    multigridStep.dirichletNodes_    = &dirichletNodes;
+    multigridStep.dirichletNodes_    = &dirichletNodes[maxlevel];
     multigridStep.basesolver_        = &baseSolver;
     multigridStep.presmoother_       = &presmoother;
     multigridStep.postsmoother_      = &postsmoother;    
diff --git a/staticrod2.cc b/staticrod2.cc
index 460e3056dd3e97eac8e078b7621ec7e1d11bee12..9687e928eb19178d0173fba8272972db17ad9a6c 100644
--- a/staticrod2.cc
+++ b/staticrod2.cc
@@ -124,7 +124,7 @@ int main (int argc, char *argv[]) try
     MonotoneMGStep<MatrixType, VectorType> multigridStep(1);
 
     multigridStep.setMGType(mu, nu1, nu2);
-    multigridStep.dirichletNodes_    = &dirichletNodes;
+    multigridStep.dirichletNodes_    = &dirichletNodes[0];
     multigridStep.basesolver_        = &baseSolver;
     multigridStep.presmoother_       = &presmoother;
     multigridStep.postsmoother_      = &postsmoother;