Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/22/19 13:23:49 (5 years ago)
Author:
pfleck
Message:

#3040 Added explicit vector types to avoid type-missmatches when representing vectors as IList<T>, List<T> or IReadOnlyList<T>.

Location:
branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
Files:
5 added
1 edited

Legend:

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

    r17364 r17365  
    162162
    163163      var variables = dataset.VariableNames.Where(variable =>
    164         dataset.VariableHasType<double>(variable) || dataset.VariableHasType<string>(variable) || dataset.VariableHasType<IReadOnlyList<double>>(variable));
     164        dataset.VariableHasType<double>(variable) || dataset.VariableHasType<string>(variable) || dataset.VariableHasType<DoubleVector> (variable));
    165165      var inputVariables = new CheckedItemList<StringValue>(variables.Select(x => new StringValue(x).AsReadOnly()));
    166166      foreach (StringValue x in inputVariables)
Note: See TracChangeset for help on using the changeset viewer.