From 84d283aeae9e6cdb65fc2d4d3dda7898525f1ebb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 25 Jan 2002 12:21:45 +0000 Subject: [PATCH] Fix more bugs. git-svn-id: https://svn.dealii.org/trunk@5405 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/parameter_handler.h | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/deal.II/base/include/base/parameter_handler.h b/deal.II/base/include/base/parameter_handler.h index 7bbe02e5c8..5562b77154 100644 --- a/deal.II/base/include/base/parameter_handler.h +++ b/deal.II/base/include/base/parameter_handler.h @@ -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::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::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; }; /** -- 2.39.5