Changeset 2784 for trunk/sources/HeuristicLab.BitVector
- Timestamp:
- 02/12/10 13:01:44 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.BitVector/3.2/RandomBitVectorGenerator.cs
r1529 r2784 55 55 bool[] result = new bool[length]; 56 56 for (int i = 0; i < length; i++) 57 result[i] = random.Next () < 0.5;57 result[i] = random.NextDouble() < 0.5; 58 58 return result; 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.