From 5a26a0677571dc89c0f165ba6f60a2e987a4c6b9 Mon Sep 17 00:00:00 2001 From: Segei L Kosakovsky Pond Date: Wed, 11 Nov 2020 20:14:29 -0500 Subject: [PATCH] HMM normalization --- src/core/matrix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/matrix.cpp b/src/core/matrix.cpp index adc4d7079..19e39b235 100644 --- a/src/core/matrix.cpp +++ b/src/core/matrix.cpp @@ -2014,6 +2014,7 @@ bool _Matrix::IsValidTransitionMatrix() const { } if (CheckEqual(term, 1.0)) { theData[idx] = 1.; + sums[r] += term; continue; } return false;