Changeset 14129 for trunk/sources
- Timestamp:
- 07/20/16 14:30:50 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/Disassembler.cs
r14106 r14129 38 38 case (byte)OpCodes.LoadVar: 39 39 { 40 #pragma warning disable 0675 41 short arg = (short)(((short)code[pc] << 8) | (short)code[pc + 1]); 42 #pragma warning restore 0675 40 short arg = (short)((code[pc] << 8) | code[pc + 1]); 43 41 pc += 2; 44 42 sb.AppendFormat(" var{0} ", arg); break; -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/ExpressionEvaluator.cs
r14106 r14129 512 512 s = 0; 513 513 if (op == (byte)OpCodes.LoadVar) { 514 #pragma warning disable 0675 515 s = (short)(((short)code[pc] << 8) | (short)code[pc + 1]); 516 #pragma warning restore 0675 514 s = (short)((code[pc] << 8) | code[pc + 1]); 517 515 pc += 2; 518 516 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/MctsSymbolicRegression/SymbolicExpressionGenerator.cs
r14106 r14129 176 176 s = 0; 177 177 if (op == OpCodes.LoadVar) { 178 #pragma warning disable 0675 179 s = (short)(((short)code[pc] << 8) | (short)code[pc + 1]); 180 #pragma warning restore 0675 178 s = (short)((code[pc] << 8) | code[pc + 1]); 181 179 pc += 2; 182 180 }
Note: See TracChangeset
for help on using the changeset viewer.