Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/giza-pp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ca354974-eb3a-0410-8f5c-d3948404989b>2008-02-16 01:23:00 +0300
committerredpony <redpony@ca354974-eb3a-0410-8f5c-d3948404989b>2008-02-16 01:23:00 +0300
commit06491c9dd034b07763f511f3acff9bf975e5f14f (patch)
tree8f8340886df1154812e2231801984bcae0875f6b
parent637b65f2cea7ea00ce3b653ac519e69ba286fcf9 (diff)
fix for sentences with English len=1
-rw-r--r--GIZA++-v2/Array2.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/GIZA++-v2/Array2.h b/GIZA++-v2/Array2.h
index dbb5194..546d63a 100644
--- a/GIZA++-v2/Array2.h
+++ b/GIZA++-v2/Array2.h
@@ -61,15 +61,11 @@ public:
{ return h2; }
inline T*begin(){
-#ifdef __STL_DEBUG
if( h1==0||h2==0)return 0;
-#endif
return &(p[0]);
}
inline T*end(){
-#ifdef __STL_DEBUG
if( h1==0||h2==0)return 0;
-#endif
return &(p[0])+p.size();
}