Skip to content

Commit

Permalink
Update rank_strategy.cpp
Browse files Browse the repository at this point in the history
Remove useless code.
  • Loading branch information
ljch2018 authored Feb 13, 2019
1 parent 57b9385 commit d1352f8
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 d1352f8

Please sign in to comment.