From 525478bdf5739d84e58903afc603b2a0a5ba275c Mon Sep 17 00:00:00 2001 From: Arvi Date: Wed, 22 Sep 2021 16:29:50 -0400 Subject: [PATCH] Fix step_in_time bindings. --- src/binding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/binding.cpp b/src/binding.cpp index c9b5ceb..e6c0a5e 100644 --- a/src/binding.cpp +++ b/src/binding.cpp @@ -495,7 +495,7 @@ PYBIND11_MODULE(polyfempy, m) // std::cout << s.step_data.rhs_assembler->problem_->is_rhs_zero() << std::endl; // std::cout << s.step_data.nl_problem->rhs_assembler.problem_->is_rhs_zero() << std::endl; json solver_info; - s.step_data.alnl_problem->update_target(t); + s.step_data.alnl_problem->update_target(t0 + t * dt); s.solve_transient_tensor_non_linear_step(t0, dt, t, solver_info); return solver_info; },