Changeset 14909 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorSetExpressions.cs
- Timestamp:
- 05/03/17 01:31:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis/Push/Expressions/VectorSetExpressions.cs
r14875 r14909 17 17 bool isLiteralTypeInteger = false) { 18 18 if (vectorStack.IsEmpty || 19 vectorStack.Top.Count == 0 || 19 20 literalStack.IsEmpty || 20 21 (isLiteralTypeInteger && interpreter.IntegerStack.Count < 2) || … … 38 39 39 40 if (index < 0) 40 index = vector.Count - index;41 index *= -1; 41 42 42 43 vector[index] = literal;
Note: See TracChangeset
for help on using the changeset viewer.