From: wolf Date: Wed, 18 Aug 1999 14:27:43 +0000 (+0000) Subject: Bug fix. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da4e32e85982beedeb7591cc149523a66abe3471;p=dealii-svn.git Bug fix. git-svn-id: https://svn.dealii.org/trunk@1714 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/time_dependent.cc b/deal.II/deal.II/source/numerics/time_dependent.cc index d6480fa714..d07ec7c95b 100644 --- a/deal.II/deal.II/source/numerics/time_dependent.cc +++ b/deal.II/deal.II/source/numerics/time_dependent.cc @@ -88,6 +88,7 @@ TimeDependent::insert_timestep (const TimeStepBase *position, = find(timesteps.begin(), timesteps.end(), position); (*(insert_position-1))->set_next_timestep (new_timestep); + new_timestep->set_previous_timestep (*(insert_position-1)); new_timestep->set_next_timestep (*insert_position); (*insert_position)->set_previous_timestep (new_timestep); };