Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move the stack as field of SafetyChecker and CommDetChecker
[simgrid.git] / src / surf / AsFloyd.cpp
index ec45a1c..960b039 100644 (file)
@@ -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_);