Fix typos in the comment of the raid library
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2026-04-15 10:47:29 +02:00
parent eccc837e8d
commit b709371d2d
10 changed files with 32 additions and 32 deletions

View file

@ -9,7 +9,7 @@
/**
* Get the first permutation with repetition of r of n elements.
*
* Typical use is with permutation_next() in the form :
* Typical use is with permutation_next() in the form:
*
* int i[R];
* permutation_first(R, N, i);
@ -17,7 +17,7 @@
* code using i[0], i[1], ..., i[R-1]
* } while (permutation_next(R, N, i));
*
* It's equivalent at the code :
* It's equivalent to the code:
*
* for(i[0]=0;i[0]<N;++i[0])
* for(i[1]=0;i[1]<N;++i[1])
@ -75,7 +75,7 @@ recurse:
/**
* Get the first combination without repetition of r of n elements.
*
* Typical use is with combination_next() in the form :
* Typical use is with combination_next() in the form:
*
* int i[R];
* combination_first(R, N, i);
@ -83,7 +83,7 @@ recurse:
* code using i[0], i[1], ..., i[R-1]
* } while (combination_next(R, N, i));
*
* It's equivalent at the code :
* It's equivalent to the code:
*
* for(i[0]=0;i[0]<N-(R-1);++i[0])
* for(i[1]=i[0]+1;i[1]<N-(R-2);++i[1])
@ -133,7 +133,7 @@ recurse:
/* initialize all the next positions, if any */
while (i < r) {
/* each position start at the next value of the previous one */
/* each position starts at the next value of the previous one */
c[i] = c[i - 1] + 1;
++i;
}