Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/10/20 09:57:02 (4 years ago)
Author:
pfleck
Message:

#3040 Added new benchmark and some minor bugfixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/ModifiableDataset.cs

    r17180 r17741  
    141141      if (values.Count != variableValues[variableName].Count)
    142142        throw new ArgumentException("The number of values must coincide with the number of dataset rows.");
    143       if (GetVariableType(variableName) != values[0].GetType())
     143      //if (GetVariableType(variableName) != values[0].GetType())
     144      if (!GetVariableType(variableName).IsInstanceOfType(values[0]))
    144145        throw new ArgumentException("The type of the provided value does not match the variable type.");
    145146      variableValues[variableName] = values;
Note: See TracChangeset for help on using the changeset viewer.