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:
Diffstat (limited to 'GIZA++-v2/TTables.h')
-rw-r--r--GIZA++-v2/TTables.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/GIZA++-v2/TTables.h b/GIZA++-v2/TTables.h
index 85673ef..73efdfd 100644
--- a/GIZA++-v2/TTables.h
+++ b/GIZA++-v2/TTables.h
@@ -194,7 +194,7 @@ public:
{
int count=0,count2=0;
ifstream infile2(fn.c_str());
- int e,f,olde=-1,oldf=-1;
+ int e,f,olde=-1;
pair<unsigned int,CPPair> cp;
vector< pair<unsigned int,CPPair> > cps;
while(infile2>>e>>f)
@@ -216,7 +216,6 @@ public:
}
cps.push_back(cp);
olde=e;
- oldf=f;
count++;
}
lexmat.resize(olde+1);