mattjj/pyhsmm — pull request #1 by alexbw (2012-11-10 17:50:15+00:00)
Title: Small change so that resampling doesn't choke when using a Multinomial distribution

If a state hadn't yet been observed, then indexing "data" fails with an empty indexing array. Just added a quick check to make sure it doesn't happen.