small change
This commit is contained in:
parent
1e3cd432d6
commit
a4dd409033
1 changed files with 1 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ class eoChromMutation: public eoMonOp<Chrom>
|
|||
{
|
||||
case 0:
|
||||
{
|
||||
// gene change
|
||||
// mutation
|
||||
uniform_generator<int> color(0, num_colors);
|
||||
chrom[position()] = color();
|
||||
break;
|
||||
|
|
@ -162,7 +162,6 @@ class eoChromMutation: public eoMonOp<Chrom>
|
|||
// transposition
|
||||
swap(chrom[position()], chrom[position()]);
|
||||
break;
|
||||
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue