Changeset 15148


Ignore:
Timestamp:
07/06/17 11:31:42 (3 months ago)
Author:
gkronber
Message:

#2650: merged r15053,r15054 from trunk to stable

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs

    r15145 r15148  
    10541054              representative.Weights[j] += node.Weights[j];
    10551055            }
    1056           }
    1057           for (int j = 0; j < representative.Weights.Length; j++) {
    1058             representative.Weights[j] += constant;
    10591056          }
    10601057          sum.AddSubtree(representative);
  • stable/HeuristicLab.Problems.DataAnalysis.Views/3.4/Controls/FactorPartialDependencePlot.cs

    r15137 r15148  
    419419
    420420    public async Task RemoveSolutionAsync(IRegressionSolution solution) {
    421       throw new NotSupportedException();
     421      if (!solutions.Remove(solution))
     422        return;
     423
     424      seriesCache.Remove(solution);
     425      ciSeriesCache.Remove(solution);
     426
     427      await RecalculateAsync();
     428      var args = new EventArgs<IRegressionSolution>(solution);
     429      OnSolutionRemoved(this, args);
    422430    }
    423431
Note: See TracChangeset for help on using the changeset viewer.