Skip to content

Commit

Permalink
Remove seq_ends typing in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Sep 29, 2024
1 parent 2f38f89 commit 603def8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/controlled.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function StatsAPI.fit!(
fb_storage::HMMs.ForwardBackwardStorage,
obs_seq::AbstractVector,
control_seq::AbstractVector;
seq_ends::AbstractVectorOrNTuple{Int},
seq_ends,
) where {T}
(; γ, ξ) = fb_storage
N = length(hmm)
Expand Down
2 changes: 1 addition & 1 deletion examples/interfaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function StatsAPI.fit!(
hmm::PriorHMM,
fb_storage::HiddenMarkovModels.ForwardBackwardStorage,
obs_seq::AbstractVector;
seq_ends::AbstractVectorOrNTuple{Int},
seq_ends,
)
## initialize to defaults without observations
hmm.init .= 0
Expand Down
2 changes: 1 addition & 1 deletion examples/temporal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function StatsAPI.fit!(
fb_storage::HMMs.ForwardBackwardStorage,
obs_seq::AbstractVector,
control_seq::AbstractVector;
seq_ends::AbstractVectorOrNTuple{Int},
seq_ends,
) where {T}
(; γ, ξ) = fb_storage
L, N = period(hmm), length(hmm)
Expand Down

0 comments on commit 603def8

Please sign in to comment.