Changeset 2039 for trunk/sources/HeuristicLab.DataAnalysis
- Timestamp:
- 06/10/09 10:49:12 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataAnalysis/3.2/DatasetShuffler.cs
r1529 r2039 49 49 50 50 private void ExchangeRows(Dataset dataset, int i, int j) { 51 dataset.FireChangeEvents = false; 51 52 for(int k = 0; k < dataset.Columns; k++) { 52 53 double temp = dataset.GetValue(i, k); … … 54 55 dataset.SetValue(j, k, temp); 55 56 } 57 dataset.FireChangeEvents = true; 58 dataset.FireChanged(); 56 59 } 57 60 }
Note: See TracChangeset
for help on using the changeset viewer.