summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--model/ranksvmtn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp
index 2121008..02f887f 100644
--- a/model/ranksvmtn.cpp
+++ b/model/ranksvmtn.cpp
@@ -100,6 +100,7 @@ int cg_solve(RidList &D,const vector<int> &rank,const VectorXd &corr,const Vecto
{
LOG(INFO) << "CG forced termination by backward constraint, reverting";
x=x-p*alpha;
+ break;
}
if (iter >= cg_maxiter)
{