numenta/nupic.core-legacy

SP crashes on compute when no winners (no active columns) - caused by too few columns

breznak opened this issue · 0 comments

the isWinner_() method crashes, as it tries to index [-1]. This happens when there are no winners, and no active columns. This can happen with too small SP (few columns ~20).