Changeset 9242 for branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/IntVariable.cs
- Timestamp:
- 02/25/13 12:37:18 (11 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3
- Property svn:ignore
-
old new 1 1 obj 2 Plugin.cs
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Variable/IntVariable.cs
r9226 r9242 149 149 } 150 150 151 public new IntVariable CrossParentsAtPosition(IVariable parent2, int pos) {151 public override IVariable CrossParentsAtPosition(IVariable parent2, int pos) { 152 152 var parent2Cast = parent2 as IntVariable; 153 153 if (parent2Cast == null) { throw new ArgumentException("Argument is not of the correct type."); } 154 154 if (pos != 0) { throw new ArgumentOutOfRangeException(); } 155 return (IntVariable) this.GetSetCopy();155 return (IntVariable)parent2.GetSetCopy(); 156 156 } 157 157
Note: See TracChangeset
for help on using the changeset viewer.