From 06491c9dd034b07763f511f3acff9bf975e5f14f Mon Sep 17 00:00:00 2001 From: redpony Date: Fri, 15 Feb 2008 22:23:00 +0000 Subject: fix for sentences with English len=1 --- GIZA++-v2/Array2.h | 4 ---- 1 file changed, 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(); } -- cgit v1.2.3