diff --git a/packages/piro/src/Piro_TrapezoidRuleSolver_Def.hpp b/packages/piro/src/Piro_TrapezoidRuleSolver_Def.hpp index ce290663c029..2ee098291efe 100644 --- a/packages/piro/src/Piro_TrapezoidRuleSolver_Def.hpp +++ b/packages/piro/src/Piro_TrapezoidRuleSolver_Def.hpp @@ -91,7 +91,7 @@ TrapezoidRuleSolver(const Teuchos::RCP &appParams_, numTimeSteps = trPL->get("Num Time Steps", 10); t_final = trPL->get("Final Time", 0.1); t_init = trPL->get("Initial Time", 0.0); - delta_t = t_final / numTimeSteps; + delta_t = (t_final - t_init) / numTimeSteps; *out << "\nB) Using Trapezoid Decorator and NOX Solver\n";