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
ns3: gosh this code is ugly
[simgrid.git]
/
src
/
surf
/
network_constant.hpp
diff --git
a/src/surf/network_constant.hpp
b/src/surf/network_constant.hpp
index
a15b173
..
214993d
100644
(file)
--- a/
src/surf/network_constant.hpp
+++ b/
src/surf/network_constant.hpp
@@
-46,8
+46,8
@@
namespace simgrid {
: NetworkAction(model_, size, false)
, m_latInit(latency)
{
-
m_latency
= latency;
- if (
m_latency
<= 0.0) {
+
latency_
= latency;
+ if (
latency_
<= 0.0) {
p_stateSet = getModel()->getDoneActionSet();
p_stateSet->push_back(*this);
}