Ignore:
Timestamp:
08/05/16 14:25:28 (3 years ago)
Author:
gkronber
Message:

#2650: work in progress..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicDataAnalysisExpressionTreeSimplifier.cs

    r14185 r14237  
    833833      var subtrees = new List<ISymbolicExpressionTreeNode>(sum.Subtrees);
    834834      while (sum.Subtrees.Any()) sum.RemoveSubtree(0);
    835       var groupedVarNodes = from node in subtrees.OfType<VariableTreeNode>()
     835      var groupedVarNodes = from node in subtrees.OfType<VariableTreeNodeBase>()
    836836                            let lag = (node is LaggedVariableTreeNode) ? ((LaggedVariableTreeNode)node).Lag : 0
    837837                            group node by node.VariableName + lag into g
    838838                            select g;
    839       var unchangedSubtrees = subtrees.Where(t => !(t is VariableTreeNode));
     839      var unchangedSubtrees = subtrees.Where(t => !(t is VariableTreeNodeBase));
    840840
    841841      foreach (var variableNodeGroup in groupedVarNodes) {
Note: See TracChangeset for help on using the changeset viewer.