diff options
Diffstat (limited to 'decoder/hg.h')
-rw-r--r-- | decoder/hg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/hg.h b/decoder/hg.h index dfa4ac6d..5f6d57ab 100644 --- a/decoder/hg.h +++ b/decoder/hg.h @@ -396,7 +396,7 @@ public: // (inner product) to set the edge probabilities template <class V> void Reweight(const V& weights) { - for (int i = 0; i < edges_.size(); ++i) { + for (unsigned i = 0; i < edges_.size(); ++i) { Edge& e = edges_[i]; e.edge_prob_.logeq(e.feature_values_.dot(weights)); } |