aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/partition.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/partition.cc')
-rw-r--r--src/decoder/partition.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/partition.cc b/src/decoder/partition.cc
index 43ff6f0..8099c19 100644
--- a/src/decoder/partition.cc
+++ b/src/decoder/partition.cc
@@ -169,7 +169,7 @@ struct PartitionHasher {
// The return value will be the hash of the assignment according to this
// mapping
- const auto seed = 0;
+ const size_t seed = 0;
return std::accumulate(part.assignment.begin(), part.assignment.end(), seed,
[&mapping](size_t seed, const int& subset) {
std::hash<size_t> hasher;