Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10634


Ignore:
Timestamp:
03/19/14 15:33:26 (11 years ago)
Author:
rstoll
Message:

val and value mixed - fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridLogic.cs

    r10622 r10634  
    100100        double val;
    101101        valid = double.TryParse(value, out val);
    102         SetValueIfValid(columnIndex, rowIndex, valid, value);
     102        SetValueIfValid(columnIndex, rowIndex, valid, val);
    103103      } else if (preprocessingData.IsType<string>(columnIndex)) {
    104104        valid = value != null;
     
    107107        DateTime date;
    108108        valid = DateTime.TryParse(value, out date);
    109         SetValueIfValid(columnIndex, rowIndex, valid, value);
     109        SetValueIfValid(columnIndex, rowIndex, valid, date);
    110110      } else {
    111111        throw new ArgumentException("column " + columnIndex + " contains a non supported type.");
Note: See TracChangeset for help on using the changeset viewer.