[irstlm] 44/126: bug fixed

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:46:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

giuliopaci-guest pushed a commit to annotated tag adaptiveLM.v0.1
in repository irstlm.

commit 1e8957c8c8fc54e3ff0c027fed9c5da3b208c88d
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date:   Tue Aug 4 20:20:56 2015 +0200

    bug fixed
---
 src/context-dependent-evaluation.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/context-dependent-evaluation.cpp b/src/context-dependent-evaluation.cpp
index 44760a0..e8e48c8 100644
--- a/src/context-dependent-evaluation.cpp
+++ b/src/context-dependent-evaluation.cpp
@@ -356,7 +356,8 @@ int main(int argc, char **argv)
 				<< " sent_OOV=" << (float)sent_Noov/sent_Nw * 100.0 << "%" << std::endl;
 				std::cout.flush();
 				//reset statistics for sentence based Perplexity
-				sent_Nw=sent_Noov;
+				sent_Noov = 0;
+				sent_Nw = 0;
 				sent_logPr=0.0;
 			}
 			

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/irstlm.git



More information about the debian-science-commits mailing list