diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-05-16 07:09:16 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-05-16 07:09:16 -0400 |
commit | a448faf30fa46c006b1d38c6aee64a7aad29ac5e (patch) | |
tree | bdfe7c401de04433e80680e350b05ad4d37b7e59 /utils/sparse_vector.cc | |
parent | 0f1e696690b18259acd79c3469d00a72aca00161 (diff) |
clean up
Diffstat (limited to 'utils/sparse_vector.cc')
-rw-r--r-- | utils/sparse_vector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sparse_vector.cc b/utils/sparse_vector.cc index 24da5f39..27bb88dd 100644 --- a/utils/sparse_vector.cc +++ b/utils/sparse_vector.cc @@ -23,7 +23,7 @@ void Encode(double objective, const SparseVector<double>& v, ostream* out) { for (const_iterator it = v.begin(); it != v.end(); ++it) tot_size += FD::Convert(it->first).size(); // feature names; tot_size += sizeof(double) * num_feats; // gradient - const size_t off_magic = tot_size; + const size_t off_magic = tot_size; (void) off_magic; tot_size += 4; // magic // size_t b64_size = tot_size * 4 / 3; |