From 556593fdd54ddcca5014fe6ed2911615dab4d36a Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 27 May 2015 13:22:16 +0800 Subject: variable input --- model/ranksvmtn.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'model/ranksvmtn.cpp') diff --git a/model/ranksvmtn.cpp b/model/ranksvmtn.cpp index 9beed65..01fcb83 100644 --- a/model/ranksvmtn.cpp +++ b/model/ranksvmtn.cpp @@ -192,12 +192,12 @@ int line_search(const VectorXd &w,RidList &D,const VectorXd &corr,const VectorXd g = grad.dot(step); cal_Hs(D,rank,corr,alpha,step,Hs); h = Hs.dot(step); - g=g+line_turb; - h = h+line_turb; + g=g+ls_turb; + h = h+ls_turb; t=t-g/h; ++iter; LOG(INFO) << "line search iter "<= ls_maxiter) { -- cgit v1.2.3-70-g09d2