Skip to content

Commit

Permalink
Merge Pull Request #3452 from rppawlo/Trilinos/3449-fix-serial-test
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: NOX: fix brusselator test for serial build #3449
PR Author: rppawlo
  • Loading branch information
trilinos-autotester authored Sep 18, 2018
2 parents 05ff265 + 310374a commit 0699921
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 0699921

Please sign in to comment.