mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-13 00:59:02 +03:00
Bug fix in constructor.
This commit is contained in:
parent
a11b79175b
commit
4aa88aaf2c
@ -145,9 +145,9 @@ namespace ugdiss
|
||||
imTtrack(boost::shared_ptr<vector<vector<Token> > > const& d)
|
||||
{
|
||||
myData = d;
|
||||
numTokens = 0;
|
||||
BOOST_FOREACH(vector<Token> const& v, d)
|
||||
numTokens += v.size();
|
||||
numToks = 0;
|
||||
BOOST_FOREACH(vector<Token> const& v, *d)
|
||||
numToks += v.size();
|
||||
}
|
||||
|
||||
template<typename Token>
|
||||
|
Loading…
Reference in New Issue
Block a user