summaryrefslogtreecommitdiff
path: root/utils/sparse_vector.cc
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-18 13:16:03 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-18 13:16:03 +0200
commit22d2f3ce5bd3fae2db9744eb66f7b8c3996265d6 (patch)
tree5cebab1bd3a0e77b108a19a786fe541cd7ce546c /utils/sparse_vector.cc
parent78a0ee61c2d2d846306b60a8ac862a2d649bcf59 (diff)
parenta70d6d3ed83a32d3cdf4bcb36a087426a4ed2c31 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'utils/sparse_vector.cc')
-rw-r--r--utils/sparse_vector.cc2
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;