]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added const specifier to start_step() input parameter in the TimeStepControl class 1257/head
authorJoshua Hansel <joshua.hansel89@gmail.com>
Tue, 4 Aug 2015 22:31:02 +0000 (16:31 -0600)
committerJoshua Hansel <joshua.hansel89@gmail.com>
Tue, 4 Aug 2015 22:31:02 +0000 (16:31 -0600)
include/deal.II/algorithms/timestep_control.h

index ae1ad5f58949e00229b336644c7482d68dd3b6ce..e657d6719b82a95a93970917643a946fcb4988c9 100644 (file)
@@ -143,7 +143,7 @@ namespace Algorithms
      * @param[in] step The size of the first step, which may be overwritten by
      *   the time stepping strategy.
      */
-    void start_step (double step);
+    void start_step (const double step);
 
     /**
      * Set size of the maximum step size.
@@ -252,7 +252,7 @@ namespace Algorithms
 
 
   inline void
-  TimestepControl::start_step (double t)
+  TimestepControl::start_step (const double t)
   {
     start_step_val = t;
   }

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.