Fix I/O issue when IO_InfoSteps = 0
Issue/feature addressed
There is a division by 0 error when IO_InfoSteps = 0.
Proposed solution
The solution is to add an additional check to avoid division by zero.
Checklist
-
Changelog is updated. -
Contributed code is correctly formatted. (See the contributing guidelines). -
License added to any new files. -
No extraneous files have been added (e.g. compiler output or test data files).
Warning
On the 19.07 the code formatting (code style) was standardised using clang-format, over the whole Nektar++ code. This means changes in your branch will conflict with formatting changes on the master
branch. To resolve these conflicts , see
#295 (closed)
Edited by Jacques Xing