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
use default value when none better is to be given
[simgrid.git]
/
src
/
surf
/
network_ib.cpp
diff --git
a/src/surf/network_ib.cpp
b/src/surf/network_ib.cpp
index
84bd016
..
ee04d5e
100644
(file)
--- a/
src/surf/network_ib.cpp
+++ b/
src/surf/network_ib.cpp
@@
-71,7
+71,7
@@
void surf_network_model_init_IB()
{
auto net_model = std::make_shared<simgrid::kernel::resource::NetworkIBModel>();
net_model->set_name("Network_IB");
- simgrid::kernel::EngineImpl::get_instance()->add_model(net_model
, {}
);
+ simgrid::kernel::EngineImpl::get_instance()->add_model(net_model);
simgrid::s4u::Engine::get_instance()->get_netzone_root()->get_impl()->set_network_model(net_model);
simgrid::s4u::Link::on_communication_state_change.connect(IB_action_state_changed_callback);