Skip to content

Commit

Permalink
Fix missing property
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasplappert committed Jun 29, 2015
1 parent 2602820 commit 3ceffc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hmmlearn/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def __init__(self, n_components=1, startprob=None, transmat=None,
self.algorithm = algorithm
self.random_state = random_state

self.transmat_mask = None
self.startprob_mask = None
if transmat is not None:
self.transmat_mask = (transmat > np.finfo(float).eps)
if startprob is not None:
Expand Down

0 comments on commit 3ceffc0

Please sign in to comment.