Ignore:
Timestamp:
07/09/14 10:37:01 (8 years ago)
Author:
gkronber
Message:

#2206: made several changes / improvements to the data-preprocessing code while reviewing the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ComparisonFilterView.cs

    r10998 r11156  
    158158    private IStringConvertibleValue CreateStringConvertibleValue(int columnIndex) {
    159159      IStringConvertibleValue value;
    160       if (Content.ConstrainedValue.IsType<double>(columnIndex)) {
     160      if (Content.ConstrainedValue.VariableHasType<double>(columnIndex)) {
    161161        value = new DoubleValue();
    162       } else if (Content.ConstrainedValue.IsType<String>(columnIndex)) {
     162      } else if (Content.ConstrainedValue.VariableHasType<String>(columnIndex)) {
    163163        value = new StringValue();
    164       } else if (Content.ConstrainedValue.IsType<DateTime>(columnIndex)) {
     164      } else if (Content.ConstrainedValue.VariableHasType<DateTime>(columnIndex)) {
    165165        value = new DateTimeValue();
    166166      } else {
Note: See TracChangeset for help on using the changeset viewer.