Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc fix [no-ci]
authorFred Suter <suterf@ornl.gov>
Mon, 18 Jul 2022 21:33:46 +0000 (17:33 -0400)
committerFred Suter <suterf@ornl.gov>
Mon, 18 Jul 2022 21:34:48 +0000 (17:34 -0400)
have an example that lazy users can copy without having weird
compilation errors

docs/source/Platform_cpp.rst

index 75abec5..e0aad12 100644 (file)
@@ -155,7 +155,7 @@ Note that the leaves and loopback links are defined through callbacks, as follow
 
     /* create each leaf in the Fat-Tree, return a pair composed of: <object (host, zone), gateway> */
     static std::pair<simgrid::kernel::routing::NetPoint*, simgrid::kernel::routing::NetPoint*>
-    create_hostzone(const sg4::NetZone* zone, const std::vector<unsigned int>& /*coord*/, int id)
+    create_hostzone(const sg4::NetZone* zone, const std::vector<unsigned long>& /*coord*/, unsigned long id)
     {
       /* creating zone */
       std::string hostname = "host" + std::to_string(id);