Commit 2d30d401 authored by Douglas Serson's avatar Douglas Serson

Fix steady state output condition

parent b18a3803
......@@ -759,7 +759,7 @@ namespace Nektar
NekDouble maxL2 = Vmath::Vmax(nFields, L2, 1);
if (m_session->DefinesCmdLineArgument("verbose") &&
m_comm->GetRank() == 0 && (step % m_infosteps == 0))
m_comm->GetRank() == 0 && ((step+1) % m_infosteps == 0))
{
cout << "-- Maximum L^2 residual: " << maxL2 << endl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment