A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update the comments of that file
[simgrid.git]
/
src
/
smpi
/
smpi_topo.c
diff --git
a/src/smpi/smpi_topo.c
b/src/smpi/smpi_topo.c
index 56622b867e119a278da1dd74702046b7cbcbda85..fdc5f7709d321fc3bca38e3837df026d520e6510 100644
(file)
--- a/
src/smpi/smpi_topo.c
+++ b/
src/smpi/smpi_topo.c
@@
-453,7
+453,6
@@
getfactors(int num, int *nfactors, int **factors) {
(*factors)[i++] = 2;
}
/* determine all occurences of uneven prime numbers up to sqrt(num) */
- d = 3;
for(d = 3; (num > 1) && (d < sqrtnum); d += 2) {
while((num % d) == 0) {
num /= d;