Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid alternative keywords for boolean expressions.
[simgrid.git] / src / kernel / routing / RoutedZone.cpp
index 4df9a27..4a07c1a 100644 (file)
@@ -117,9 +117,6 @@ RouteCreationArgs* RoutedZone::new_extended_route(RoutingMode hierarchy, NetPoin
 {
   auto* result = new RouteCreationArgs();
 
-  xbt_assert(hierarchy == RoutingMode::base || hierarchy == RoutingMode::recursive,
-             "The hierarchy of this netzone is neither BASIC nor RECURSIVE, I'm lost here.");
-
   if (hierarchy == RoutingMode::recursive) {
     xbt_assert(gw_src && gw_dst, "nullptr is obviously a deficient gateway");