From e29c8982f4e419a46ec16c8aa0e88df256f57314 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Wed, 18 Apr 2018 01:28:26 +0200 Subject: [PATCH] fixed final time display --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2fabe282c..5c78f4ae6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -154,7 +154,6 @@ int main(int argc, char *argv[]) double dt = 0.4*acoustic_solver.acoustic_dt(Vj, cj); if (t+dt>tmax) { dt=tmax-t; - t=tmax; } acoustic_solver.computeNextStep(t,dt, unknowns); -- GitLab