Permalink
Browse files

Fix bug in RowAssigner::AssignAdhoc() which leads to overdensity.

  • Loading branch information...
MikeHopcroft committed Oct 27, 2016
1 parent 7b98ffa commit ebf12d52efd163c005802b63cafa6bfae4f2da09
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Index/src/TermTableBuilder.cpp
@@ -356,7 +356,8 @@ namespace BitFunnel
// Update m_adhocTotal with this term's contribution to the total
// number of bits.
m_adhocTotal += frequency * count;
double f = Term::FrequencyAtRank(frequency, m_rank);
m_adhocTotal += f * count;
}

0 comments on commit ebf12d5

Please sign in to comment.