Updated comment.
authorRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 29 Mar 2015 19:45:37 +0000 (21:45 +0200)
committerRafał Długołęcki <rafal@dlugolecki.net.pl>
Sun, 29 Mar 2015 19:45:37 +0000 (21:45 +0200)
src/selection/roulette.h

index a4f1fd289ad8e2b2e58c4dcbef44e00e8eb87f6f..88141986e214ab7760abcef7bd01895c36f534ff 100644 (file)
@@ -108,7 +108,7 @@ namespace genetic {
                             selected.push_back(it->second);
                             break;
                         }
-                        // When NaN occur:
+                        // When NaN occur, just get first Chromosome
                         else if (it->first != it->first) {
                             selected.push_back(probabilities.begin()->second);
                             found = true;