From f238b11ac880a11b9cbcf39d74a4a2aea1cbf849 Mon Sep 17 00:00:00 2001
From: renchao_lu <renchao.lu@gmail.com>
Date: Tue, 3 Sep 2019 15:19:57 +0200
Subject: [PATCH] [MatLib/MPL] Relieve the constraint on number of components.

---
 MaterialLib/MPL/CreateProperty.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MaterialLib/MPL/CreateProperty.cpp b/MaterialLib/MPL/CreateProperty.cpp
index ca5359f81c0..bafdd151fad 100644
--- a/MaterialLib/MPL/CreateProperty.cpp
+++ b/MaterialLib/MPL/CreateProperty.cpp
@@ -186,7 +186,7 @@ std::unique_ptr<MaterialPropertyLib::Property> createProperty(
             //! \ogs_file_param{properties__property__Parameter__parameter_name}
             config.getConfigParameter<std::string>("parameter_name");
         auto const& parameter = ParameterLib::findParameter<double>(
-            parameter_name, parameters, 1, nullptr);
+            parameter_name, parameters, 0, nullptr);
         return std::make_unique<MaterialPropertyLib::ParameterProperty>(
             parameter);
     }
-- 
GitLab