diff --git a/ProcessLib/Utils/InitShapeMatrices.h b/ProcessLib/Utils/InitShapeMatrices.h
index 1ac8556f2d19209656639ea80207be07dc69d010..a87dd4909d122af050e3966948c7ff1126fe19bb 100644
--- a/ProcessLib/Utils/InitShapeMatrices.h
+++ b/ProcessLib/Utils/InitShapeMatrices.h
@@ -38,8 +38,7 @@ std::vector<typename ShapeMatricesType::ShapeMatrices> initShapeMatrices(
                                      ShapeFunction::NPOINTS);
         fe.computeShapeFunctions(
                 integration_method.getWeightedPoint(ip).getCoords(),
-                shape_matrices[ip], GlobalDim/*, is_axially_symmetric*/);
-        (void) is_axially_symmetric;
+                shape_matrices[ip], GlobalDim, is_axially_symmetric);
     }
 
     return shape_matrices;