Changeset 10870 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/Utils/FindPreprocessingItemsIterator.cs
- Timestamp:
- 05/21/14 12:22:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/Utils/FindPreprocessingItemsIterator.cs
r10852 r10870 45 45 ++tmpColumnIndex; 46 46 } 47 if (startCell == null && tmpColumnIndex == columnIndex && rowIndex != 0) { 48 startCell = GetNextFoundCell(columnIndex, 0); 49 } 47 50 currentCell = startCell; 48 51 } … … 62 65 bool result = false; 63 66 bool endReached = false; 64 if ( items != null) {67 if (CurrentCellExists()) { 65 68 do { 66 69 if (currentCell.Item2 < items[currentCell.Item1].Count - 1) { … … 95 98 private bool CurrentCellExists() { 96 99 bool result = false; 97 if ( items != null) {100 if (currentCell != null && items != null) { 98 101 result = items.ContainsKey(currentCell.Item1) && currentCell.Item2 < items[currentCell.Item1].Count; 99 102 }
Note: See TracChangeset
for help on using the changeset viewer.