From a9a21676e8a1f11e5f97fe11d5f6ed74f1a24aa7 Mon Sep 17 00:00:00 2001
From: Dmitrij Naumov <dmitrij@naumov.de>
Date: Fri, 3 May 2019 10:03:13 +0200
Subject: [PATCH] [PL] SD; Fix integration order for sigma IP writer

---
 ProcessLib/SmallDeformation/SmallDeformationProcess.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp
index 347496c52cf..15e5712f487 100644
--- a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp
+++ b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp
@@ -47,7 +47,7 @@ SmallDeformationProcess<DisplacementDim>::SmallDeformationProcess(
     _integration_point_writer.emplace_back(
         std::make_unique<SigmaIntegrationPointWriter>(
             static_cast<int>(mesh.getDimension() == 2 ? 4 : 6) /*n components*/,
-            2 /*integration order*/, [this]() {
+            integration_order, [this]() {
                 // Result containing integration point data for each local
                 // assembler.
                 std::vector<std::vector<double>> result;
-- 
GitLab