Skip to content
Snippets Groups Projects
Commit f238b11a authored by renchao.lu's avatar renchao.lu
Browse files

[MatLib/MPL] Relieve the constraint on number of components.

parent 386f08a4
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ std::unique_ptr<MaterialPropertyLib::Property> createProperty( ...@@ -186,7 +186,7 @@ std::unique_ptr<MaterialPropertyLib::Property> createProperty(
//! \ogs_file_param{properties__property__Parameter__parameter_name} //! \ogs_file_param{properties__property__Parameter__parameter_name}
config.getConfigParameter<std::string>("parameter_name"); config.getConfigParameter<std::string>("parameter_name");
auto const& parameter = ParameterLib::findParameter<double>( auto const& parameter = ParameterLib::findParameter<double>(
parameter_name, parameters, 1, nullptr); parameter_name, parameters, 0, nullptr);
return std::make_unique<MaterialPropertyLib::ParameterProperty>( return std::make_unique<MaterialPropertyLib::ParameterProperty>(
parameter); parameter);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment