Skip to content

Commit

Permalink
wrong scope for string declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
landinjm committed Oct 26, 2024
1 parent 02e93e4 commit 6ea89e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputFileReader/inputFileReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ inputFileReader::declare_parameters(dealii::ParameterHandler &parameter_hand
/*----------------------
| Pinning point
-----------------------*/
std::string pinning_text = "Pinning point: ";
for (unsigned int i = 0; i < var_types.size(); i++)
{
std::string pinning_text = "Pinning point: ";
pinning_text.append(var_names.at(i));
parameter_handler.enter_subsection(pinning_text);
{
Expand Down

0 comments on commit 6ea89e8

Please sign in to comment.