]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix more bugs.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Jan 2002 12:21:45 +0000 (12:21 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 25 Jan 2002 12:21:45 +0000 (12:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@5405 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/parameter_handler.h

index 7bbe02e5c8a7a1e70a3d1bed4735b14a70b3a909..5562b77154e073241a7f40a84a29f3af07e2bf24 100644 (file)
@@ -308,13 +308,8 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const double min_double_value =
-#ifdef HAVE_STD_NUMERIC_LIMITS
-          std::numeric_limits<double>::min();
-#else
-          1;
-#endif
-
+      static const double min_double_value;
+      
                                       /**
                                        * Maximal double value. If
                                        * the @p{numeric_limits} class
@@ -323,12 +318,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const double max_double_value =
-#ifdef HAVE_STD_NUMERIC_LIMITS
-          std::numeric_limits<double>::max();
-#else
-          0;
-#endif
+      static const double max_double_value;
       
                                       /**
                                        * Constructor. Bounds can be
@@ -387,7 +377,7 @@ namespace Patterns
                                        * bounds of the interval for
                                        * a valid range.
                                        */
-      const int lower_bound;
+      const double lower_bound;
 
                                       /**
                                        * Value of the upper
@@ -399,7 +389,7 @@ namespace Patterns
                                        * bounds of the interval for
                                        * a valid range.
                                        */
-      const int upper_bound;
+      const double upper_bound;
   };
     
                                   /**

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.