Changeset 15713 for branches/1614_GeneralizedQAP/HeuristicLab.Optimization.Views/3.3/RunCollectionViews
- Timestamp:
- 02/02/18 16:31:42 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionRLDView.cs
r15701 r15713 327 327 where pd.Equals(new ProblemInstance(run)) 328 328 let cgraph = ((IndexedDataTable<double>)run.Results[table]) 329 where cgraph.Rows.Count > 0 && cgraph.Rows.First().Values.Count > 0 329 330 group cgraph by pd into g 330 331 select g; … … 565 566 } 566 567 567 if (!labelPrinted ) {568 if (!labelPrinted && row.Points.Count > 0) { 568 569 var point = row.Points.Last(); 569 570 if (showLabelsInTargetChart) … … 754 755 var runs = Content.Where(x => x.Results.ContainsKey(table) && x.Results[table] is IndexedDataTable<double>) 755 756 .Select(x => (IndexedDataTable<double>)x.Results[table]) 756 .Where(x => x.Rows.Count > 0 )757 .Where(x => x.Rows.Count > 0 && x.Rows.First().Values.Count > 0) 757 758 .Select(x => x.Rows.First()) 758 759 .ToList(); … … 1129 1130 if (r.Results.TryGetValue(table, out item)) { 1130 1131 var dt = item as IndexedDataTable<double>; 1131 if (dt != null ) {1132 if (dt != null && dt.Rows.Count > 0 && dt.Rows.First().Values.Count > 0) { 1132 1133 var last = dt.Rows.First().Values.Last().Item2; 1133 1134 if (!double.IsNaN(last))
Note: See TracChangeset
for help on using the changeset viewer.