col.getCell(c).setActive(true);
}
if(_temporalLearning && !learningCellChosen) {
//printf("bestSeg for (%d %d)\n", col->cx(), col->cy());
CellAndSegment cas = col.getBestMatchingCell(1, true);
Cell bestCell = cas.cell;
Segment bestSeg = cas.segment;
bestCell.setLearning(true);
//segUpdate is added internally to Cell's update list