From: wolf Date: Fri, 25 Jan 2002 12:21:45 +0000 (+0000) Subject: Fix more bugs. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5f6251d45e63b5c19261c0d7d5739b6119e28c4;p=dealii-svn.git Fix more bugs. git-svn-id: https://svn.dealii.org/trunk@5405 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; }; /**