summaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/ranksvmtn.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp
index 02f887f..d8e4c5c 100644
--- a/model/ranksvmtn.cpp
+++ b/model/ranksvmtn.cpp
@@ -96,12 +96,6 @@ int cg_solve(RidList &D,const vector<int> &rank,const VectorXd &corr,const Vecto
LOG(INFO) << "CG iter "<<iter<<", r:"<<r_1;
if (r_1<cg_prec) // Terminate condition
break;
- if (r_1>r_2)
- {
- LOG(INFO) << "CG forced termination by backward constraint, reverting";
- x=x-p*alpha;
- break;
- }
if (iter >= cg_maxiter)
{
LOG(INFO) << "CG forced termination by maxiter";