Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/19/16 11:23:28 (8 years ago)
Author:
mkommend
Message:

#2669: Removed the after deserialization method that resets the targetVariable. Instead the initialization code has been added to the storable ctor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SymbolicRegressionModel.cs

    r14185 r14289  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    2423using HeuristicLab.Common;
     
    4140
    4241    [StorableConstructor]
    43     protected SymbolicRegressionModel(bool deserializing) : base(deserializing) { }
     42    protected SymbolicRegressionModel(bool deserializing)
     43      : base(deserializing) {
     44      targetVariable = string.Empty;
     45    }
    4446
    4547    protected SymbolicRegressionModel(SymbolicRegressionModel original, Cloner cloner)
Note: See TracChangeset for help on using the changeset viewer.