From 557bedfa401ab1306a1dc232011722985fc92b94 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sun, 6 Jan 2013 20:41:49 +0800 Subject: modified: core/fitter.hpp --- core/fitter.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/fitter.hpp b/core/fitter.hpp index 7b5af4b..8f397a3 100644 --- a/core/fitter.hpp +++ b/core/fitter.hpp @@ -559,7 +559,7 @@ namespace opt_utilities return Tstr(); } - virtual bool do_meet_constraint(const Tp& p)const + virtual bool do_meets_constraint(const Tp& p)const { Tp p1=this->reform_param(p); for(size_t i=0;i!=p1.size();++i) @@ -842,9 +842,9 @@ namespace opt_utilities \param p input deformed parameter \return if the given param meets the constraint of the model */ - bool meet_constraint(const Tp& p)const + bool meets_constraint(const Tp& p)const { - return do_meet_constraint(p); + return do_meets_constraint(p); } public: -- cgit v1.2.2