X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4dbc84f53aac793fc159d833090e421ec0025905..50f53e056827c92becd02f67bb47e47171baa3c6:/src/surf/AsFloyd.cpp diff --git a/src/surf/AsFloyd.cpp b/src/surf/AsFloyd.cpp index ec45a1c4ca..960b039f34 100644 --- a/src/surf/AsFloyd.cpp +++ b/src/surf/AsFloyd.cpp @@ -121,7 +121,7 @@ void AsFloyd::addRoute(sg_platf_route_cbarg_t route) TO_FLOYD_COST(src->id(), dst->id()) = (TO_FLOYD_LINK(src->id(), dst->id()))->link_list->size(); - if (route->symmetrical == TRUE) { + if (route->symmetrical == true) { if (route->gw_dst) // AS route (to adapt the error message, if any) xbt_assert(nullptr == TO_FLOYD_LINK(dst->id(), src->id()), "The route between %s@%s and %s@%s already exists. You should not declare the reverse path as symmetrical.", @@ -149,7 +149,7 @@ void AsFloyd::addRoute(sg_platf_route_cbarg_t route) } } -void AsFloyd::Seal(){ +void AsFloyd::seal(){ /* set the size of table routing */ size_t table_size = xbt_dynar_length(vertices_);