From f6c22b46449fa77f90e319e4b159ccb6c2a5732b Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Wed, 11 Mar 2015 00:55:41 +0800 Subject: restructure, changed label type --- model/ranksvm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'model/ranksvm.cpp') diff --git a/model/ranksvm.cpp b/model/ranksvm.cpp index 060001b..628ef37 100644 --- a/model/ranksvm.cpp +++ b/model/ranksvm.cpp @@ -37,7 +37,7 @@ RSVM* RSVM::loadModel(const string fname){ return rsvm; } -int RSVM::setModel(const Eigen::VectorXd &model) { +int RSVM::setModel(const Labels &model) { if (model.rows()!=fsize) LOG(FATAL) << "Feature size mismatch: "<model=model; -- cgit v1.2.3-70-g09d2