diff --git a/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp b/ProcessLib/SmallDeformation/SmallDeformationProcess.cpp
index 347496c52cfbb15281fc553e1f26225cd215a546..15e5712f48745601fdb4b5e569125d4faa609d73 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;