]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix bugs.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jan 2002 12:18:09 +0000 (12:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Jan 2002 12:18:09 +0000 (12:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@5404 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 36d7db7218c60f2d2bab8df9441bf1139bd344c1..7bbe02e5c8a7a1e70a3d1bed4735b14a70b3a909 100644 (file)
@@ -168,7 +168,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const unsigned int min_int_value =
+      static const int min_int_value =
 #ifdef HAVE_STD_NUMERIC_LIMITS
           std::numeric_limits<int>::min();
 #else
@@ -183,7 +183,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const unsigned int max_int_value =
+      static const int max_int_value =
 #ifdef HAVE_STD_NUMERIC_LIMITS
           std::numeric_limits<int>::max();
 #else
@@ -308,7 +308,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const unsigned int min_double_value =
+      static const double min_double_value =
 #ifdef HAVE_STD_NUMERIC_LIMITS
           std::numeric_limits<double>::min();
 #else
@@ -323,7 +323,7 @@ namespace Patterns
                                        * understands that all values
                                        * are allowed.
                                        */
-      static const unsigned int max_double_value =
+      static const double max_double_value =
 #ifdef HAVE_STD_NUMERIC_LIMITS
           std::numeric_limits<double>::max();
 #else
@@ -342,8 +342,8 @@ namespace Patterns
                                        * such that no bounds are
                                        * enforced on parameters.
                                        */
-      Double (const int lower_bound = min_double_value,
-             const int upper_bound = max_double_value);
+      Double (const double lower_bound = min_double_value,
+             const double upper_bound = max_double_value);
        
                                       /**
                                        * Return @p{true} if the

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.