diff --git a/amatos2d/src/gridgen/FEM_param.F90 b/amatos2d/src/gridgen/FEM_param.F90
index 535714db99dc273e91a4bcc2d363cd3edc2b92ae..892fc1e913b67041e418761ad27b0f1bfc0286ee 100644
--- a/amatos2d/src/gridgen/FEM_param.F90
+++ b/amatos2d/src/gridgen/FEM_param.F90
@@ -87,7 +87,7 @@ MODULE FEM_param
   INTEGER (KIND = GRID_SI), PARAMETER         :: DEF_evalsize= 1              !< size of real array (elmt)
   INTEGER (KIND = GRID_SI), PARAMETER         :: DEF_gvalsize= DEF_constno    !< size of real array (edge)
   INTEGER (KIND = GRID_SI), PARAMETER         :: DEF_nvalsize= 2*DEF_constno  !< size of real array (node)
-  INTEGER (KIND = GRID_SI), PARAMETER         :: DEF_maxfemtypes=32           !< max no. of FEM types supported
+  INTEGER (KIND = GRID_SI), PARAMETER         :: DEF_maxfemtypes=64           !< max no. of FEM types supported
 
 !---------- definition parameters