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
Fix 'on_exit' preservation which failed when auto_restart was set first (FG#11).
[simgrid.git]
/
src
/
mc
/
mc_hash.cpp
diff --git
a/src/mc/mc_hash.cpp
b/src/mc/mc_hash.cpp
index 626927fe966c1d86f991044c358a12910157e77d..71f8fe80adcd3975161fef7f13fa50beaa33870f 100644
(file)
--- a/
src/mc/mc_hash.cpp
+++ b/
src/mc/mc_hash.cpp
@@
-29,7
+29,7
@@
public:
template<class T>
void update(T& x)
{
- state_ = (state_ << 5) + state_ +
state_
;
+ state_ = (state_ << 5) + state_ +
x
;
}
hash_type value()
{