X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bee3400ba6e1daeca869db8753dc4d86bcda28ca..d5548c7fc49aeeb1f41467597c790a1b5ea4f893:/src/surf/surf_routing_vivaldi.c diff --git a/src/surf/surf_routing_vivaldi.c b/src/surf/surf_routing_vivaldi.c index 873121a668..029b1ff14e 100644 --- a/src/surf/surf_routing_vivaldi.c +++ b/src/surf/surf_routing_vivaldi.c @@ -73,7 +73,7 @@ static double vivaldi_get_link_latency (AS_t rc,const char *src, const char *dst /* Creation routing model functions */ AS_t model_vivaldi_create(void) { - AS_t new_component = model_none_create(); + AS_t new_component = model_rulebased_create(); new_component->get_route = vivaldi_get_route; new_component->get_latency = vivaldi_get_link_latency; return new_component;