Skip to content

Commit

Permalink
Addressed review
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahansel committed Nov 9, 2023
1 parent 540d1d8 commit 426ae8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions framework/include/outputs/AdvancedOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(const std::string &
(_advanced_execute_on[execute_data_name].isValid() &&
_advanced_execute_on[execute_data_name].contains("none")))
{
const bool is_pp_type = (execute_data_name == "postprocessors") ? true : false;
const bool is_pp_type = (execute_data_name == "postprocessors");
const std::string pp_type_str = is_pp_type ? "post-processor" : "vector post-processor";
mooseWarning("The ",
pp_type_str,
Expand All @@ -420,7 +420,7 @@ AdvancedOutput::initPostprocessorOrVectorPostprocessorLists(const std::string &
name(),
"' output, but ",
pp_type_str,
" output is disabled for this output object.");
" output is disabled for that output object.");
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions framework/src/outputs/AdvancedOutput.C
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ void
AdvancedOutput::init()
{
// Initialize the execution flags
for (auto & it : _advanced_execute_on)
initExecutionTypes(it.first, it.second);
for (auto & [name, input] : _advanced_execute_on)
initExecutionTypes(name, input);

// Clear existing execute information lists
_execute_data.reset();
Expand Down
2 changes: 1 addition & 1 deletion test/tests/outputs/format/tests
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
[pps_screen_out_warn_test]
type = 'RunApp'
input = 'pps_screen_out_warn.i'
expect_out = "The post-processor 'avg_block' has requested to be output by the 'console' output, but post-processor output is disabled for this output object"
expect_out = "The post-processor 'avg_block' has requested to be output by the 'console' output, but post-processor output is disabled for that output object"
allow_warnings = true
max_parallel = 1 # warning can mix on multiple processes
issues = '#1426'
Expand Down

0 comments on commit 426ae8f

Please sign in to comment.