- Timestamp:
- 09/10/20 09:57:02 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/ModifiableDataset.cs
r17180 r17741 141 141 if (values.Count != variableValues[variableName].Count) 142 142 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])) 144 145 throw new ArgumentException("The type of the provided value does not match the variable type."); 145 146 variableValues[variableName] = values;
Note: See TracChangeset
for help on using the changeset viewer.