Changeset 10634
- Timestamp:
- 03/19/14 15:33:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridLogic.cs
r10622 r10634 100 100 double val; 101 101 valid = double.TryParse(value, out val); 102 SetValueIfValid(columnIndex, rowIndex, valid, val ue);102 SetValueIfValid(columnIndex, rowIndex, valid, val); 103 103 } else if (preprocessingData.IsType<string>(columnIndex)) { 104 104 valid = value != null; … … 107 107 DateTime date; 108 108 valid = DateTime.TryParse(value, out date); 109 SetValueIfValid(columnIndex, rowIndex, valid, value);109 SetValueIfValid(columnIndex, rowIndex, valid, date); 110 110 } else { 111 111 throw new ArgumentException("column " + columnIndex + " contains a non supported type.");
Note: See TracChangeset
for help on using the changeset viewer.