Skip to content
Snippets Groups Projects
Commit e829ec9c authored by Robert K's avatar Robert K
Browse files

small fix in printCount evaluation.

parent f583d0ab
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,7 @@ public:
// Check that no NAN have been generated
checkDofsValid( tp, loop );
if( (printCount > 0) && (timeStep % printCount == 0))
if( (printCount > 0) && (((timeStep+1) % printCount) == 0))
{
UInt64Type grSize = gridSize();
if( grid.comm().rank() == 0 )
......
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