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
ignore the lat parameter of peer tag
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
577dab3
..
2cc3b17
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-563,7
+563,7
@@
void sg_platf_new_peer(sg_platf_peer_cbarg_t peer)
speedPerPstate.push_back(peer->speed);
simgrid::s4u::Host* host = as->createHost(peer->id, &speedPerPstate, 1);
speedPerPstate.push_back(peer->speed);
simgrid::s4u::Host* host = as->createHost(peer->id, &speedPerPstate, 1);
- as->setPeerLink(host->pimpl_netcard, peer->bw_in, peer->bw_out, peer->
lat, peer->
coord);
+ as->setPeerLink(host->pimpl_netcard, peer->bw_in, peer->bw_out, peer->coord);
simgrid::s4u::Host::onCreation(*host);
/* Change from the defaults */
simgrid::s4u::Host::onCreation(*host);
/* Change from the defaults */