-/* Copyright (c) 2013-2021. The SimGrid Team.
+/* Copyright (c) 2013-2023. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
{
int rank, size;
int srank; /* shifted rank */
- int i,maxchainlen;
+ int maxchainlen;
int mark;
ompi_coll_tree_t *chain;
fflush(stdout);
return nullptr;
}
- for(i=0;i<fanout;i++) chain->tree_next[i] = -1;
+ for (int i = 0; i < fanout; i++)
+ chain->tree_next[i] = -1;
/*
* Set root & numchain