Skip to content

Commit

Permalink
Merge Pull Request #6097 from trilinos/Trilinos/shadow-fix-tempus
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Fixed shadow warning
PR Author: bathmatt
  • Loading branch information
trilinos-autotester authored Oct 15, 2019
2 parents a133adb + 8fc620b commit 1907304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/tempus/src/Tempus_StepperFactory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ class StepperFactory
Teuchos::RCP<Teuchos::ParameterList> stepperPL)
{
auto solver = rcp(new Thyra::NOXNonlinearSolver());
auto solverPL = Tempus::defaultSolverParameters();
auto subPL = sublist(solverPL, "NOX");
auto defaultSolverPL = Tempus::defaultSolverParameters();
auto subPL = sublist(defaultSolverPL, "NOX");
solver->setParameterList(subPL);
if (stepperPL != Teuchos::null) {
std::string solverName = stepperPL->get<std::string>("Solver Name");
Expand Down

0 comments on commit 1907304

Please sign in to comment.