From d4ef123c3d994944c91bed0e72caaf43ddcb8e6d Mon Sep 17 00:00:00 2001
From: Oliver Sander <oliver.sander@tu-dresden.de>
Date: Thu, 6 Jul 2023 14:46:44 +0200
Subject: [PATCH] Add missing 'typename' keyword

---
 dune/microstructure/prestrainedMaterial.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/microstructure/prestrainedMaterial.hh b/dune/microstructure/prestrainedMaterial.hh
index a3eddde5..904b1e58 100644
--- a/dune/microstructure/prestrainedMaterial.hh
+++ b/dune/microstructure/prestrainedMaterial.hh
@@ -690,7 +690,7 @@ Dune::FieldMatrix<double,6,6> setupPhase(const std::string phaseType, Python::Mo
         // VTKGridType grid_VTK({-1.0/2.0, -1.0/2.0, -1.0/2.0},{1.0/2.0, 1.0/2.0, 1.0/2.0},{80,80,80});
         VTKGridType grid_VTK({-1.0/2.0, -1.0/2.0, -1.0/2.0},{1.0/2.0, 1.0/2.0, 1.0/2.0},nElements);
         
-        using GridViewVTK = VTKGridType::LeafGridView;
+        using GridViewVTK = typename VTKGridType::LeafGridView;
         const GridViewVTK gridView_VTK = grid_VTK.leafGridView();
         
         auto scalarP0FeBasis = makeBasis(gridView_VTK,lagrange<0>());
-- 
GitLab