Skip to content

Commit

Permalink
Fix bug in RowAssigner::AssignAdhoc() which leads to overdensity.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHopcroft committed Oct 27, 2016
1 parent 7b98ffa commit ebf12d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Index/src/TermTableBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit ebf12d5

Please sign in to comment.