Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Sep 28, 2024
1 parent 9b87ce8 commit 0d5ecc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/abstract_hmm.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ function obs_distributions end
## Fallbacks for no control

transition_matrix(hmm::AbstractHMM, ::Nothing) = transition_matrix(hmm)
transpose_transition_matrix(hmm::AbstractHMM, ::Nothing) = transpose_transition_matrix(hmm)
transpose_transition_matrix(hmm::AbstractHMM, ::Nothing) = transpose(transition_matrix(hmm))
log_transition_matrix(hmm::AbstractHMM, ::Nothing) = log_transition_matrix(hmm)
function transpose_log_transition_matrix(hmm::AbstractHMM, ::Nothing)
return transpose_log_transition_matrix(hmm)
return transpose(log_transition_matrix(hmm))

Check warning on line 118 in src/types/abstract_hmm.jl

View check run for this annotation

Codecov / codecov/patch

src/types/abstract_hmm.jl#L117-L118

Added lines #L117 - L118 were not covered by tests
end
obs_distributions(hmm::AbstractHMM, ::Nothing) = obs_distributions(hmm)

Expand Down

0 comments on commit 0d5ecc2

Please sign in to comment.