]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bug fix.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Aug 1999 14:27:43 +0000 (14:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Aug 1999 14:27:43 +0000 (14:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@1714 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/time_dependent.cc

index d6480fa7146761f3aae30331a858583fad8a9821..d07ec7c95b24a287b2b82db058fbd1b541ed3985 100644 (file)
@@ -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);
       };

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.