Initialize booleans to get rid of compiler-warnings.
This commit is contained in:
parent
1f0ba7fab6
commit
03b1689de9
2 changed files with 65 additions and 65 deletions
|
|
@ -46,7 +46,7 @@ public:
|
||||||
*/
|
*/
|
||||||
bool operator()(GenotypeT & _genotype)
|
bool operator()(GenotypeT & _genotype)
|
||||||
{
|
{
|
||||||
bool isModified;
|
bool isModified(true);
|
||||||
// START code for mutation of the _genotype object
|
// START code for mutation of the _genotype object
|
||||||
|
|
||||||
/** Requirement
|
/** Requirement
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ public:
|
||||||
*/
|
*/
|
||||||
bool operator()(GenotypeT& _genotype1, GenotypeT & _genotype2)
|
bool operator()(GenotypeT& _genotype1, GenotypeT & _genotype2)
|
||||||
{
|
{
|
||||||
bool oneAtLeastIsModified;
|
bool oneAtLeastIsModified(true);
|
||||||
// START code for crossover of _genotype1 and _genotype2 objects
|
// START code for crossover of _genotype1 and _genotype2 objects
|
||||||
|
|
||||||
/** Requirement
|
/** Requirement
|
||||||
|
|
|
||||||
Reference in a new issue