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] authored and franzpoeschel committed Jan 23, 2024
1 parent 5dc9e64 commit c13c20e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/IO/ADIOS/ADIOS2IOHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ namespace openPMD

#if openPMD_HAVE_ADIOS2

std::optional<size_t> joinedDimension(adios2::Dims const &dims)
std::optional<size_t> joinedDimension(adios2::Dims const &dims)
{
for (size_t i = 0; i < dims.size(); ++i)
{
for (size_t i = 0; i < dims.size(); ++i)
if (dims[i] == adios2::JoinedDim)
{
if (dims[i] == adios2::JoinedDim)
{
return i;
}
return i;
}
return std::nullopt;
}
return std::nullopt;
}

#if openPMD_HAVE_MPI

Expand Down

0 comments on commit c13c20e

Please sign in to comment.