diff options
author | Paul Mineiro <paul-github@mineiro.com> | 2013-12-31 06:00:37 +0400 |
---|---|---|
committer | Paul Mineiro <paul-github@mineiro.com> | 2013-12-31 06:00:37 +0400 |
commit | e7c252382266eb314ac432a10eb2fd2ea0f0b159 (patch) | |
tree | ab3729c6ec3c3ef00e48c85d1b09ef1cc572ee54 /vowpalwabbit/lrq.cc | |
parent | f6058d9dec47651129e6d8056de4cf2d3c9fdcec (diff) |
cleanup
Diffstat (limited to 'vowpalwabbit/lrq.cc')
-rw-r--r-- | vowpalwabbit/lrq.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/lrq.cc b/vowpalwabbit/lrq.cc index 3a6c7eb9..6e30a37a 100644 --- a/vowpalwabbit/lrq.cc +++ b/vowpalwabbit/lrq.cc @@ -233,8 +233,8 @@ namespace LRQ { unsigned int k = atoi (i->c_str () + 2); - lrq->lrindices[(int) (*i)[0]] = max (lrq->lrindices[(int) (*i)[0]], k); - lrq->lrindices[(int) (*i)[1]] = max (lrq->lrindices[(int) (*i)[1]], k); + lrq->lrindices[(int) (*i)[0]] = 1; + lrq->lrindices[(int) (*i)[1]] = 1; maxk = max (maxk, k); } |