Skip to content

Commit

Permalink
Fix double mesh.read() call (openPMD#1535)
Browse files Browse the repository at this point in the history
First call was outside try{}, so errors would not be caught
  • Loading branch information
franzpoeschel authored Oct 6, 2023
1 parent 0e4bab2 commit 2e0b016
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Iteration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ void Iteration::readMeshes(std::string const &meshesPath)
IOHandler()->flush(internal::defaultFlushParams);
mrc.get().m_isConstant = true;
}
m.read();
try
{
m.read();
Expand Down

0 comments on commit 2e0b016

Please sign in to comment.