Skip to content

Commit

Permalink
Merge pull request baidu#109 from ljch2018/master
Browse files Browse the repository at this point in the history
Remove useless code.
  • Loading branch information
wangshuohuan authored Feb 21, 2019
2 parents 2b00d23 + f635a70 commit b3e096b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rank/rank_strategy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ int RankStrategy::compute_similarity(const AnalysisResult& analysis_res,
if (rough_sort != _feature_calculator[i]->is_rough()) {
continue;
}
std::vector<std::vector<float> > single_feature;
if (_feature_calculator[i]->compute_similarity(analysis_res, candidates) != 0) {
FATAL_LOG("feature %s compute error", (_feature_calculator[i]->feature_name()).c_str());
return -1;
Expand Down

0 comments on commit b3e096b

Please sign in to comment.