aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@gmail.com>2013-01-06 20:41:49 +0800
committerastrojhgu <astrojhgu@gmail.com>2013-01-06 20:41:49 +0800
commit557bedfa401ab1306a1dc232011722985fc92b94 (patch)
treef417d98c88048a1a677b05e6cd0e706f53ed2c5b
parent7ff0aab5e0dbda497014c6249c27f27a08351988 (diff)
downloadopt-utilities-557bedfa401ab1306a1dc232011722985fc92b94.tar.bz2
modified: core/fitter.hpp
-rw-r--r--core/fitter.hpp6
1 files 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: