Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix misleading parameter declaration.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 17 Apr 2018 05:30:40 +0000 (07:30 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 17 Apr 2018 05:35:23 +0000 (07:35 +0200)
src/kernel/routing/TorusZone.cpp

index bc212e4..72d0298 100644 (file)
@@ -15,7 +15,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_cluster_torus, surf_route_cluster, "Torus Routing part of surf");
 
-inline void rankId_to_coords(int rankId, std::vector<unsigned int> dimensions, unsigned int coords[4])
+inline void rankId_to_coords(int rankId, std::vector<unsigned int> dimensions, unsigned int* coords)
 {
   unsigned int dim_size_product = 1;
   unsigned int i = 0;