Changeset 9475 for branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/Selection
- Timestamp:
- 05/09/13 18:57:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/Selection/NichingTournamentSelector.cs
r9411 r9475 83 83 //check if list with indexes is as long as the original scope list 84 84 //otherwise invalid quality values were filtered 85 if (qualities.Count != scopes.Count &&individuals.Count != scopes.Count) {85 if (qualities.Count != scopes.Count || individuals.Count != scopes.Count) { 86 86 throw new ArgumentException("The scopes contain invalid quality values (either infinity or double.NaN) on which the selector cannot operate."); 87 87 }
Note: See TracChangeset
for help on using the changeset viewer.