We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c72b9 commit 23ff8e6Copy full SHA for 23ff8e6
src/IO/ADIOS/ADIOS2IOHandler.cpp
@@ -68,17 +68,17 @@ namespace openPMD
68
69
#if openPMD_HAVE_ADIOS2
70
71
- std::optional<size_t> joinedDimension(adios2::Dims const &dims)
+std::optional<size_t> joinedDimension(adios2::Dims const &dims)
72
+{
73
+ for (size_t i = 0; i < dims.size(); ++i)
74
{
- for (size_t i = 0; i < dims.size(); ++i)
75
+ if (dims[i] == adios2::JoinedDim)
76
- if (dims[i] == adios2::JoinedDim)
- {
77
- return i;
78
- }
+ return i;
79
}
80
- return std::nullopt;
81
+ return std::nullopt;
+}
82
83
#if openPMD_HAVE_MPI
84
0 commit comments