Free cookie consent management tool by TermsFeed Policy Generator

Changeset 17839


Ignore:
Timestamp:
02/16/21 17:22:47 (4 years ago)
Author:
mkommend
Message:

#2898: Fixed base ctor call in Spline1dModel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/GAM/Spline1dModel.cs

    r17815 r17839  
    5353    }
    5454    public Spline1dModel(alglib.spline1d.spline1dinterpolant interpolant, string targetVar, string inputVar)
    55       : base("Spline model (1d)", "Spline model (1d)") {
    56       this.interpolant = (alglib.spline1d.spline1dinterpolant)interpolant.make_copy();
    57       this.TargetVariable = targetVar;
     55      : base(targetVar, "Spline model (1d)") {
     56      this.interpolant = (alglib.spline1d.spline1dinterpolant)interpolant.make_copy();     
    5857      this.variablesUsedForPrediction = new string[] { inputVar };
    5958    }
Note: See TracChangeset for help on using the changeset viewer.