From 88c9a99807746baf43895ce826e9e47538b889b3 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sun, 28 Aug 2016 22:41:58 +0000
Subject: [PATCH] [PL] ShapeMatrices: unsigned int for int. points.

---
 ProcessLib/Utils/InitShapeMatrices.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ProcessLib/Utils/InitShapeMatrices.h b/ProcessLib/Utils/InitShapeMatrices.h
index 08e1f06d522..62362c5c2d8 100644
--- a/ProcessLib/Utils/InitShapeMatrices.h
+++ b/ProcessLib/Utils/InitShapeMatrices.h
@@ -32,10 +32,10 @@ initShapeMatrices(MeshLib::Element const& e, unsigned integration_order)
     FemType fe(*static_cast<const typename ShapeFunction::MeshElement*>(&e));
 
     IntegrationMethod integration_method(integration_order);
-    std::size_t const n_integration_points = integration_method.getNumberOfPoints();
+    unsigned const n_integration_points = integration_method.getNumberOfPoints();
 
     shape_matrices.reserve(n_integration_points);
-    for (std::size_t ip = 0; ip < n_integration_points; ++ip) {
+    for (unsigned ip = 0; ip < n_integration_points; ++ip) {
         shape_matrices.emplace_back(ShapeFunction::DIM, GlobalDim,
                                      ShapeFunction::NPOINTS);
         fe.computeShapeFunctions(
-- 
GitLab