Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/09/21 19:41:33 (3 years ago)
Author:
gkronber
Message:

#3117: update alglib to version 3.17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Algorithms.GradientDescent/3.3/LbfgsMakeStep.cs

    r17180 r17931  
    7171    public override IOperation Apply() {
    7272      var state = State;
    73       bool @continue = alglib.minlbfgs.minlbfgsiteration(state.State);
     73      bool @continue = alglib.minlbfgsiteration(state.State);
    7474      TerminationCriterionParameter.ActualValue = new BoolValue(!@continue);
    7575      if (@continue) {
    7676        PointParameter.ActualValue = new RealVector(state.State.x);
    7777      } else {
    78         double[] x = new double[state.State.x.Length];
    79         alglib.minlbfgs.minlbfgsreport rep = new alglib.minlbfgs.minlbfgsreport();
    80         alglib.minlbfgs.minlbfgsresults(state.State, ref x, rep);
     78        alglib.minlbfgsresults(state.State, out var x, out var rep);
    8179        if (rep.terminationtype < 0) {
    8280          if (rep.terminationtype == -1)
Note: See TracChangeset for help on using the changeset viewer.