- Timestamp:
- 01/25/11 18:09:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/SymbolicSimplifier.cs
r5108 r5377 354 354 while (sum.SubTrees.Count > 0) sum.RemoveSubTree(0); 355 355 var groupedVarNodes = from node in subtrees.OfType<VariableTreeNode>() 356 group node by node.VariableName into g 356 let lag = (node is LaggedVariableTreeNode) ? ((LaggedVariableTreeNode)node).Lag : 0 357 group node by node.VariableName + lag into g 357 358 select g; 359 358 360 var unchangedSubTrees = subtrees.Where(t => !(t is VariableTreeNode)); 359 361 … … 429 431 while (prod.SubTrees.Count > 0) prod.RemoveSubTree(0); 430 432 var groupedVarNodes = from node in subtrees.OfType<VariableTreeNode>() 431 group node by node.VariableName into g 433 let lag = (node is LaggedVariableTreeNode) ? ((LaggedVariableTreeNode)node).Lag : 0 434 group node by node.VariableName + lag into g 432 435 orderby g.Count() 433 436 select g;
Note: See TracChangeset
for help on using the changeset viewer.