Commit 48389c5a authored by Davis King's avatar Davis King

Renamed r_has_lower_bound() to risk_has_lower_bound()

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403521
parent c725ee09
......@@ -21,7 +21,7 @@ namespace dlib
virtual ~oca_problem() {}
virtual bool r_has_lower_bound (
virtual bool risk_has_lower_bound (
scalar_type&
) const { return false; }
......@@ -146,7 +146,7 @@ namespace dlib
scalar_type cp_obj = 0;
scalar_type R_lower_bound;
if (problem.r_has_lower_bound(R_lower_bound))
if (problem.risk_has_lower_bound(R_lower_bound))
{
// The flat lower bounding plane is always good to have if we know
// what it is.
......
......@@ -34,7 +34,7 @@ namespace dlib
virtual ~oca_problem() {}
virtual bool r_has_lower_bound (
virtual bool risk_has_lower_bound (
scalar_type& lower_bound
) const { return false; }
/*!
......
......@@ -131,7 +131,7 @@ namespace dlib
return false;
}
virtual bool r_has_lower_bound (
virtual bool risk_has_lower_bound (
scalar_type& lower_bound
) const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment