Skip to content

Commit 0fca42d

Browse files
authored
Merge pull request #6729 from bangerth/cleanup
Minor cleanups.
2 parents 41f4f76 + c842c3c commit 0fca42d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/utilities.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,9 +2812,9 @@ namespace aspect
28122812
if (output_filename != "")
28132813
{
28142814
// output solver history
2815-
std::ofstream f((output_filename));
2815+
std::ofstream f(output_filename);
28162816

2817-
for (const auto &solver_control: solver_controls)
2817+
for (const auto &solver_control : solver_controls)
28182818
{
28192819
// Skip the output if no iterations were run for this solver
28202820
if (solver_control.last_step() == numbers::invalid_unsigned_int)
@@ -2825,7 +2825,7 @@ namespace aspect
28252825
f << std::endl;
28262826

28272827
unsigned int j=0;
2828-
for (const auto &residual: solver_control.get_history_data())
2828+
for (const auto &residual : solver_control.get_history_data())
28292829
f << j++ << ' ' << residual << std::endl;
28302830
}
28312831

0 commit comments

Comments
 (0)