Skip to content
Snippets Groups Projects
Commit fd7137ca authored by Dmitri Naumov's avatar Dmitri Naumov Committed by Tom Fischer
Browse files

[App] PD; Simplify boolean check in if-condition.

parent 943b78ef
No related branches found
No related tags found
No related merge requests found
...@@ -412,8 +412,7 @@ std::vector<std::string> ProjectData::parseParameters( ...@@ -412,8 +412,7 @@ std::vector<std::string> ProjectData::parseParameters(
//! \ogs_file_param{prj__parameters__parameter__use_local_coordinate_system} //! \ogs_file_param{prj__parameters__parameter__use_local_coordinate_system}
parameter_config.getConfigParameterOptional<bool>( parameter_config.getConfigParameterOptional<bool>(
"use_local_coordinate_system"); "use_local_coordinate_system");
if (!!use_local_coordinate_system && if (!!use_local_coordinate_system && *use_local_coordinate_system)
*use_local_coordinate_system == true)
{ {
parameter_names_for_transformation.push_back(p->name); parameter_names_for_transformation.push_back(p->name);
} }
......
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