Changeset 15015
- Timestamp:
- 05/31/17 17:03:27 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs
r15013 r15015 114 114 foreach (var v in variableNames) { 115 115 if (VariableHasType<double>(v)) { 116 values.Add(new List<double>(( List<double>)variableValues[v]));116 values.Add(new List<double>((IList<double>)variableValues[v])); 117 117 } else if (VariableHasType<string>(v)) { 118 values.Add(new List<string>(( List<string>)variableValues[v]));118 values.Add(new List<string>((IList<string>)variableValues[v])); 119 119 } else if (VariableHasType<DateTime>(v)) { 120 values.Add(new List<DateTime>(( List<DateTime>)variableValues[v]));120 values.Add(new List<DateTime>((IList<DateTime>)variableValues[v])); 121 121 } else { 122 122 throw new ArgumentException("Unknown variable type.");
Note: See TracChangeset
for help on using the changeset viewer.