Changeset 9250 for branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphView.cs
- Timestamp:
- 02/27/13 13:31:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.EvolutionaryTracking.Views/3.4/GenealogyGraphView.cs
r9239 r9250 105 105 symbolicExpressionTreeChart.Tree = genealogyGraphNode.SymbolicExpressionTree; 106 106 if (genealogyGraphNode.InEdges == null) return; 107 var arc = genealogyGraphNode.InEdges.First(x => x.Source != x.Target && x.Data != null);108 if (arc == null ) return;107 var arc = genealogyGraphNode.InEdges.First(x => x.Source != x.Target); 108 if (arc == null || arc.Data == null) return; 109 109 var fragment = (IFragment)arc.Data; 110 110 if (fragment.Root == null) return;
Note: See TracChangeset
for help on using the changeset viewer.