Skip to content

Commit

Permalink
NOX: fix brusselator test for serial build #3449
Browse files Browse the repository at this point in the history
  • Loading branch information
rppawlo committed Sep 17, 2018
1 parent 1d0e85e commit 310374a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nox/test/epetra/Brusselator/Example.C
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,13 @@ int main(int argc, char *argv[])
if (const_cast<Teuchos::ParameterList&>(solver->getList()).sublist("Direction").sublist("Newton").sublist("Linear Solver").sublist("Output").get("Total Number of Linear Iterations",0) != 9) {
testStatus = 3;
}
if (solver->getSolverStatistics()->linearSolve.lastNonlinearSolve_NumLinearIterations != 9) {
if (solver->getSolverStatistics()->linearSolve.allNonlinearSolves_NumLinearIterations != 9) {
testStatus = 3;
}
}

utils.out() << "testStatus = " << testStatus << std::endl;

success = (testStatus == 0);
// Summarize test results
if (success)
Expand Down

0 comments on commit 310374a

Please sign in to comment.