From a2d9d0f96502c7d3c04303f3db36a8602d992287 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 23 Jul 2010 19:17:22 +0000 Subject: sparse_vector use google::dense_hash_map, fsa scan logging git-svn-id: https://ws10smt.googlecode.com/svn/trunk@383 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cdec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/cdec.cc') diff --git a/decoder/cdec.cc b/decoder/cdec.cc index 6fb6d5a1..f366a08f 100644 --- a/decoder/cdec.cc +++ b/decoder/cdec.cc @@ -749,7 +749,7 @@ int main(int argc, char** argv) { } if (output_training_vector) { - acc_vec.clear_value(0); + acc_vec.erase(0); ++g_count; if (g_count % combine_size == 0) { if (encode_b64) { -- cgit v1.2.3