Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Oct 1, 2024
1 parent 7aab680 commit 01955e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/inference/forward.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function forward!(
seq_ends::AbstractVectorOrNTuple{Int},
k::Integer,
)
(; α, B, c) = storage
(; α, B, c, logL) = storage
t1, t2 = seq_limits(seq_ends, k)

# Initialization
Expand Down
2 changes: 1 addition & 1 deletion src/inference/viterbi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function viterbi!(
seq_ends::AbstractVectorOrNTuple{Int},
k::Integer,
) where {R}
(; q, logB, ϕ, ψ) = storage
(; q, logB, ϕ, ψ, logL) = storage
t1, t2 = seq_limits(seq_ends, k)

logBₜ₁ = view(logB, :, t1)
Expand Down

0 comments on commit 01955e8

Please sign in to comment.