Changeset 14974 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 05/11/17 17:01:18 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs
r14811 r14974 145 145 if (instr.opCode == OpCodes.Variable) { 146 146 if (row < 0 || row >= dataset.Rows) instr.value = double.NaN; 147 var variableTreeNode = (VariableTreeNode)instr.dynamicNode; 148 instr.value = ((IList<double>)instr.data)[row] * variableTreeNode.Weight; 147 else { 148 var variableTreeNode = (VariableTreeNode)instr.dynamicNode; 149 instr.value = ((IList<double>)instr.data)[row] * variableTreeNode.Weight; 150 } 149 151 } else if (instr.opCode == OpCodes.LagVariable) { 150 152 var laggedVariableTreeNode = (LaggedVariableTreeNode)instr.dynamicNode;
Note: See TracChangeset
for help on using the changeset viewer.