Changeset 18146 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs
- Timestamp:
- 12/16/21 14:23:48 (3 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs
r18133 r18146 418 418 #region opcode switch 419 419 switch (instr.opCode) { 420 case OpCodes.Number: // fall through 420 421 case OpCodes.Constant: { 421 var constTreeNode = (ConstantTreeNode)instr.dynamicNode;422 instr.value = constTreeNode.Value;423 422 var numericTreeNode = (INumericTreeNode)instr.dynamicNode; 423 instr.value = numericTreeNode.Value; 424 instr.skip = true; // the value is already set so this instruction should be skipped in the evaluation phase 424 425 } 425 426 break;
Note: See TracChangeset
for help on using the changeset viewer.