Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13040


Ignore:
Timestamp:
10/20/15 09:51:25 (9 years ago)
Author:
bburlacu
Message:

#2489: Added cloning of string values and exception when an unknown variable type is encountered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.4/ModifiableDataset.cs

    r13027 r13040  
    4646        } else if (type == typeof(double)) {
    4747          variableValues[v] = GetDoubleValues(v).ToList();
     48        } else if (type == typeof(string)) {
     49          variableValues[v] = GetStringValues(v).ToList();
     50        } else {
     51          throw new ArgumentException("Unsupported type " + type + " for variable " + v);
    4852        }
    4953      }
Note: See TracChangeset for help on using the changeset viewer.