A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[mc] Fix the hash computation
[simgrid.git]
/
src
/
mc
/
mc_hash.cpp
diff --git
a/src/mc/mc_hash.cpp
b/src/mc/mc_hash.cpp
index
ba391fa
..
b260507
100644
(file)
--- a/
src/mc/mc_hash.cpp
+++ b/
src/mc/mc_hash.cpp
@@
-26,7
+26,7
@@
public:
template<class T>
void update(T& x)
{
- state_ = (state_ << 5) + state_ +
(std::uint64_t) value
;
+ state_ = (state_ << 5) + state_ +
state_
;
}
hash_type value()
{