in function update_sample_space_model in case "if memory is full", I got confused about the prior weights renormalization step. why the loop is controlled by i < prior_weights_[i] instead of i < prior_weights_.size().
I cant see the meaning of the former one. I am looking forward to your reply:)