Changeset 10666
- Timestamp:
- 03/26/14 14:51:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/FilterLogic.cs
r10638 r10666 22 22 using HeuristicLab.DataPreprocessing.Filter; 23 23 using System.Collections.Generic; 24 using System; 25 using System.Linq; 24 26 namespace HeuristicLab.DataPreprocessing { 25 27 public class FilterLogic : IFilterLogic { … … 34 36 public bool[] Preview(IList<IFilter> filters) 35 37 { 36 bool[] result = new bool[preprocessingData.Rows];38 bool[] result = Enumerable.Repeat<bool>(true, preprocessingData.Rows).ToArray(); 37 39 38 40 foreach (IFilter filter in filters) … … 41 43 42 44 for(int row = 0; row < result.Length; ++row) { 43 result[row] = result[row] & filterResult[row];45 result[row] = result[row] && filterResult[row]; 44 46 } 45 47 }
Note: See TracChangeset
for help on using the changeset viewer.