HDP
HDP copied to clipboard
Fix a bug: tableToTopic mapping should be invalidated, rather than decreased.
When removing an existing table, the mapping relation between table and topic should be invalidated, rather than being decreased as in line 207(HDPGibbsSampler.java).
This is a potential bug, though currently it doesn't affect the correctness of your code as you use DOCState.wordCountByTable to do defragment in line 351, better to fix it.