diff --git a/test/UniqueBorderPartitionTest.cpp b/test/UniqueBorderPartitionTest.cpp
index e7b9e03e3edd738a6fb8d5195e67bc3a08ce4570..e23f95225e2aaf4f16c1122ea17f4439fc77fd12 100644
--- a/test/UniqueBorderPartitionTest.cpp
+++ b/test/UniqueBorderPartitionTest.cpp
@@ -28,9 +28,9 @@ int main(int argc, char** argv)
 {
   Environment env(argc, argv);
 
-  auto grid1 = Dune::YaspGrid<2>({1.0, 1.0}, {8,8}, 0, 0); // no overlap
-  auto grid2 = Dune::YaspGrid<2>({1.0, 1.0}, {8,8}, 0, 1); // overlap = 1
-  auto grid3 = Dune::YaspGrid<3>({1.0, 1.0, 1.0}, {8,8,8}, 0, 1); // overlap = 1
+  Dune::YaspGrid<2> grid1({1.0, 1.0}, {8,8}, 0, 0); // no overlap
+  Dune::YaspGrid<2> grid2({1.0, 1.0}, {8,8}, 0, 1); // overlap = 1
+  Dune::YaspGrid<3> grid3({1.0, 1.0, 1.0}, {8,8,8}, 0, 1); // overlap = 1
 
   test(grid1.leafGridView());
   test(grid2.leafGridView());