numenta/nupic — pull request #1358 by cogmission (2014-09-21 19:41:02+00:00)
Title: Added assertions to check conditions for exiting while loop

in _raisePermanenceToThreshold method

fixes #1322