Free cookie consent management tool by TermsFeed Policy Generator

Changeset 14974 for stable


Ignore:
Timestamp:
05/11/17 17:01:18 (8 years ago)
Author:
gkronber
Message:

#2640: merged r13268 from trunk to stable (was omitted in merging #2442)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Interpreter/SymbolicDataAnalysisExpressionTreeLinearInterpreter.cs

    r14811 r14974  
    145145        if (instr.opCode == OpCodes.Variable) {
    146146          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          }
    149151        } else if (instr.opCode == OpCodes.LagVariable) {
    150152          var laggedVariableTreeNode = (LaggedVariableTreeNode)instr.dynamicNode;
Note: See TracChangeset for help on using the changeset viewer.