git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2056 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
010236a5e7
commit
a107e2925d
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
* @param _i an integer
|
* @param _i an integer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static unsigned int factorial(unsigned int i) {
|
static int factorial(int i) {
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
return 1;
|
return 1;
|
||||||
else
|
else
|
||||||
|
|
@ -50,7 +50,7 @@ static unsigned int factorial(unsigned int i) {
|
||||||
* @param _Kswap the number of swap
|
* @param _Kswap the number of swap
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static unsigned int sizeMapping(unsigned int _size,unsigned int _Kswap) {
|
static int sizeMapping(int _size,unsigned int _Kswap) {
|
||||||
|
|
||||||
int _sizeMapping = _size;
|
int _sizeMapping = _size;
|
||||||
for (int i = _Kswap; i > 0; i--) {
|
for (int i = _Kswap; i > 0; i--) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue