Skip to content

Commit

Permalink
Merge pull request #4642 from PDoakORNL/remove_InputSection_debug_output
Browse files Browse the repository at this point in the history
Removing debug output for InputSection
  • Loading branch information
ye-luo authored Jun 23, 2023
2 parents a7dbd96 + 3ba2f19 commit a28f24d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Estimators/InputSection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ void InputSection::readAttributes(xmlNodePtr cur,
// This is due to the <parameter name="parameter_name> == <parameter_name> tag equivalence :(
std::string qualified_name{((element_name.size() > 0 && element_name != "parameter") ? (element_name + "::") : "") +
name};
std::cout << "qualified_name:" << qualified_name << '\n';

// Since parameters don't get a qualified name this will still prevent consumption of any of the do_not_consume attributes from them
if (std::any_of(do_not_consume.begin(), do_not_consume.end(), [&name](auto& dnc) { return name == dnc; }))
Expand Down Expand Up @@ -74,9 +73,6 @@ void InputSection::readXML(xmlNodePtr cur)
std::string section_name_actual(lowerCase(getXMLAttributeValue(cur, "name")));
// at anyrate one of these must match the section_name.
std::string lcase_section_name{lowerCase(section_name)};
std::cout << "section_name:" << section_name << " section_ename: " << section_ename
<< " section_method:" << section_method << " section_type:" << section_type
<< " section_name_actual:" << section_name_actual << '\n';

auto checkSectionName = [&section_name = section_name, &section_name_alternates = section_name_alternates](auto& possible_sname){
std::string lcase_section_name{lowerCase(section_name)};
Expand Down

0 comments on commit a28f24d

Please sign in to comment.