Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16742 for branches


Ignore:
Timestamp:
04/02/19 13:50:24 (6 years ago)
Author:
gkronber
Message:

#2994: fix for compatibility with #2971

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2994-AutoDiffForIntervals/HeuristicLab.Algorithms.DataAnalysis.ConstrainedNonlinearRegression/3.4/ConstrainedNonlinearRegression.cs

    r16738 r16742  
    250250      }
    251251      var intervals = problemData.IntervalConstraints;
    252       var constraintsParser = new IntervalConstraintsParser();
    253       var constraints = constraintsParser.Parse(intervals.Value);
     252      var constraints = IntervalConstraintsParser.Parse(intervals.Value);
    254253      var dataIntervals = problemData.VariableRanges.VariableIntervals;
    255254
     
    417416          if (thetaIdx >= 0) {
    418417            var parent = n.Parent;
    419             if(thetaNodes[thetaIdx].Any()) {
     418            if (thetaNodes[thetaIdx].Any()) {
    420419              // HACK: REUSE CONSTANT TREE NODE IN SEVERAL TREES
    421420              // we use this trick to allow autodiff over thetas when thetas occurr multiple times in the tree (e.g. in derived trees)
Note: See TracChangeset for help on using the changeset viewer.