From d94df863f7b0d2734ff9f7780bdc2ba731ec2ad2 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Thu, 13 Dec 2012 18:07:22 +0800 Subject: modified: core/fitter.hpp --- core/fitter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/fitter.hpp b/core/fitter.hpp index 4f19684..cc4da3b 100644 --- a/core/fitter.hpp +++ b/core/fitter.hpp @@ -386,8 +386,8 @@ namespace opt_utilities */ param_info(const Tstr& _name, const typename element_type_trait::element_type& _v, - const typename element_type_trait::element_type& _l=0, - const typename element_type_trait::element_type& _u=0, + const typename element_type_trait::element_type& _l=-std::numeric_limits::element_type>::max(), + const typename element_type_trait::element_type& _u=std::numeric_limits::element_type>::max(), const Tstr& desc=Tstr()) :name(_name),value(_v),lower_limit(_l), upper_limit(_u),description(desc) -- cgit v1.2.2