From fc7267d3adc591cc81dc0f977a2c2d7158c645ee Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Sun, 29 Sep 2024 19:09:23 +0200 Subject: [PATCH] Fix loglikelihood increase check in Baum-Welch --- src/inference/baum_welch.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inference/baum_welch.jl b/src/inference/baum_welch.jl index 1bc25665..3bec0ac2 100644 --- a/src/inference/baum_welch.jl +++ b/src/inference/baum_welch.jl @@ -73,7 +73,7 @@ function baum_welch( seq_ends, atol, max_iterations, - loglikelihood_increasing=false, + loglikelihood_increasing, ) return hmm, logL_evolution end