We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7491a9b commit e36b332Copy full SHA for e36b332
src/IO/ADIOS/ADIOS2File.cpp
@@ -28,6 +28,7 @@
28
#include "openPMD/auxiliary/Environment.hpp"
29
#include "openPMD/auxiliary/StringManip.hpp"
30
31
+#include <adios2/common/ADIOSTypes.h>
32
#include <optional>
33
#include <stdexcept>
34
@@ -363,9 +364,9 @@ size_t ADIOS2File::currentStep()
363
364
{
365
return *step_selection;
366
}
- else if (nonpersistentEngine(m_impl->m_engineType))
367
+ else if (m_mode == adios2::Mode::ReadRandomAccess)
368
- return m_currentStep;
369
+ return 0;
370
371
else
372
0 commit comments