diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-18 13:16:03 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-18 13:16:03 +0200 |
commit | 47e9deff1c2cbd104d6e2822703cc83df625d8aa (patch) | |
tree | 72d2db8fc921a48e1b6306255ebbe5e7408e034b /utils/sparse_vector.cc | |
parent | 37050e861de2b216d3a28f79e111b674c5d142ac (diff) | |
parent | 05b86961fa7e04d47cf729ea27e27c527f895da0 (diff) |
Merge remote-tracking branch 'upstream/master'
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; |