modify constructor
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2196 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
e7cb9406b5
commit
cb0ef340ad
1 changed files with 2 additions and 3 deletions
|
|
@ -75,9 +75,8 @@ public:
|
|||
*@param _b Value to assign to vector.
|
||||
*/
|
||||
|
||||
moCudaBitVector(unsigned _size, bool _b) {
|
||||
|
||||
moCudaVector<bool, Fitness>:: moCudaVector(_size);
|
||||
moCudaBitVector(unsigned _size, bool _b) :
|
||||
moCudaVector<bool, Fitness> (_size) {
|
||||
|
||||
for (unsigned i = 0; i < _size; i++)
|
||||
vect[i] = _b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue