Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2022
1 parent 2397323 commit 47ec995
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Iteration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ auto Iteration::beginStep(bool reread) -> BeginStepStatus
{
res.iterationsInOpenedStep = series.readGorVBased(false);
}
catch(...)
catch (...)
{
IOHandler()->m_seriesStatus = oldStatus;
throw;
Expand Down
7 changes: 4 additions & 3 deletions src/ReadIterations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ SeriesIterator::nextIterationInStep(Iteration &currentIteration)
series.iterations[m_currentIteration].open();
try
{
series.iterations[m_currentIteration].beginStep(/* reread = */ true);
series.iterations[m_currentIteration].beginStep(
/* reread = */ true);
}
catch (error::ReadError const &err)
{
Expand Down Expand Up @@ -214,8 +215,8 @@ SeriesIterator::nextStep(Iteration &currentIteration)
catch (error::ReadError const &err)
{
std::cerr << "[SeriesIterator] Cannot read iteration due to error "
"below, will skip it.\n"
<< err.what() << std::endl;
"below, will skip it.\n"
<< err.what() << std::endl;
// Need to close the current step manually because there is no
// iteration to close
Parameter<Operation::ADVANCE> param;
Expand Down

0 comments on commit 47ec995

Please sign in to comment.