Skip to content
Snippets Groups Projects
Commit 595c6f39 authored by Jean-Matthieu Etancelin's avatar Jean-Matthieu Etancelin Committed by Franck Pérignon
Browse files

Improve hdfio output test (when ite==-1)

parent bc4c12cb
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ class HDF_Writer(HDF_IO):
if simulation is None:
raise ValueError("Missing simulation value for monitoring.")
ite = simulation.currentIteration
if ite % self.io_params.frequency == 0:
if ite == -1 or ite % self.io_params.frequency == 0:
self.step(simulation)
self._count += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment