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: default rate (bound) for comms is -1 not 0
[simgrid.git]
/
src
/
kernel
/
activity
/
CommImpl.hpp
diff --git
a/src/kernel/activity/CommImpl.hpp
b/src/kernel/activity/CommImpl.hpp
index
bb3c812
..
71f44a7
100644
(file)
--- a/
src/kernel/activity/CommImpl.hpp
+++ b/
src/kernel/activity/CommImpl.hpp
@@
-22,7
+22,7
@@
class XBT_PUBLIC CommImpl : public ActivityImpl_T<CommImpl> {
static void (*copy_data_callback_)(CommImpl*, void*, size_t);
- double rate_ =
0
.0;
+ double rate_ =
-1
.0;
double size_ = 0.0;
bool detached_ = false; /* If detached or not */
bool copied_ = false; /* whether the data were already copied */