aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: