[irstlm] 54/126: code improvement

Giulio Paci giuliopaci-guest at moszumanska.debian.org
Tue May 17 07:46:44 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 6fbdcfe5661cf24b4a8c0e627593c934083f5c27
Author: Nicola Bertoldi <bertoldi at fbk.eu>
Date:   Wed Aug 19 18:40:00 2015 +0200

    code improvement
---
 src/context-similarity.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/context-similarity.cpp b/src/context-similarity.cpp
index 62623df..6a72b6f 100644
--- a/src/context-similarity.cpp
+++ b/src/context-similarity.cpp
@@ -304,7 +304,7 @@ namespace irstlm {
 		}
 		else{
 			ng.pushc(0);
-			if (m_hk_ngt->get(ng,size,size-1) && (ng.freq > m_threshold_on_h)){
+			if (ngt->get(ng,size,size-1) && (ng.freq > m_threshold_on_h)){
 				ret=true;
 			}else{
 				ret=false;

-- 
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