Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/11 15:33:10 (13 years ago)
Author:
gkronber
Message:

#1418 fixed persistence problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis/3.4/Dataset.cs

    r5570 r5689  
    5858    [Storable]
    5959    public IEnumerable<string> VariableNames {
    60       get { return variableNameToVariableIndexMapping.Keys; }
     60      get {
     61        // convert KeyCollection to an array first for persistence
     62        return variableNameToVariableIndexMapping.Keys.ToArray();
     63      }
    6164      private set {
    6265        if (variableNameToVariableIndexMapping != null) throw new InvalidOperationException("VariableNames can only be set once.");
Note: See TracChangeset for help on using the changeset viewer.