Changeset 18146 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionCompiledTreeInterpreter.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/SymbolicDataAnalysisExpressionCompiledTreeInterpreter.cs
r18133 r18146 157 157 #region switch opcode 158 158 switch (opcode) { 159 case OpCodes.Constant: { 160 var constantTreeNode = (ConstantTreeNode)node; 161 return Expression.Constant(constantTreeNode.Value); 159 case OpCodes.Constant: // fall through 160 case OpCodes.Number: { 161 var numberTreeNode = (INumericTreeNode)node; 162 return Expression.Constant(numberTreeNode.Value); 162 163 } 163 164 case OpCodes.Variable: {
Note: See TracChangeset
for help on using the changeset viewer.