Commit 7a5be282 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Fixed exit issue on sub iteration on alpha


git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@3328 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
parent 0ef2fa84
......@@ -157,16 +157,16 @@ int main(int argc, char *argv[])
// assume that if only previous inner loop has
// only done one iteration then we are at neutral
// point
if (i == 1)
if (i == 0)
{
exit_iteration == true;
exit_iteration = true;
}
if(nouter_iter >= vwi.GetMaxOuterIterations())
{
cerr << "Failed to converge after "<< vwi.GetMaxOuterIterations() << " outer iterations" << endl;
exit_iteration == true;
exit_iteration = true;
}
}
}
......
Supports Markdown
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