From 1ae388007126607d7d05d5cd90bf0c466bc661bf Mon Sep 17 00:00:00 2001 From: boufaras Date: Tue, 15 Mar 2011 09:30:09 +0000 Subject: [PATCH] Clean git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2194 331e1502-861f-0410-8da2-ba01fb791d7f --- branches/ParadisEO-GPU/src/cudaType/moCudaIntVector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/branches/ParadisEO-GPU/src/cudaType/moCudaIntVector.h b/branches/ParadisEO-GPU/src/cudaType/moCudaIntVector.h index 4188e6cbe..59d8d1030 100644 --- a/branches/ParadisEO-GPU/src/cudaType/moCudaIntVector.h +++ b/branches/ParadisEO-GPU/src/cudaType/moCudaIntVector.h @@ -85,15 +85,15 @@ public: void create() { unsigned random; - int temp; + int tmp; for (unsigned i = 0; i < N; i++) vect[i] = i; // we want a random permutation so we shuffle for (unsigned i = 0; i < N; i++) { random = rng.rand() % (N - i) + i; - temp = vect[i]; + tmp = vect[i]; vect[i] = vect[random]; - vect[random] = temp; + vect[random] = tmp; } }