Changeset 18180 for branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeBatchInterpreter.cs
- Timestamp:
- 01/10/22 10:15:25 (2 years ago)
- Location:
- branches/3138_Shape_Constraints_Transformations
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3138_Shape_Constraints_Transformations
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/3138_Shape_Constraints_Transformations/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeBatchInterpreter.cs
r17801 r18180 84 84 break; 85 85 } 86 case OpCodes.Constant: break; // nothing to do here, don't remove because we want to prevent falling into the default case here. 86 case OpCodes.Constant: // fall through 87 case OpCodes.Number: 88 break; // nothing to do here, don't remove because we want to prevent falling into the default case here. 87 89 case OpCodes.Add: { 88 90 Load(instr.buf, code[c].buf); … … 279 281 cachedData[variable.VariableName] = code[i].data; 280 282 } 281 } else if (node is ConstantTreeNode constant) {282 code[i].value = constant.Value;283 } else if (node is INumericTreeNode numeric) { 284 code[i].value = numeric.Value; 283 285 for (int j = 0; j < BATCHSIZE; ++j) 284 286 code[i].buf[j] = code[i].value;
Note: See TracChangeset
for help on using the changeset viewer.