Update ghmm.py

Stop warn on cast.