Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12630 for trunk/sources


Ignore:
Timestamp:
07/07/15 10:45:42 (9 years ago)
Author:
abeham
Message:

#2367: minor change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.CMAEvolutionStrategy/3.4/CMAOperators/CMAUpdater.cs

    r12629 r12630  
    241241        double[,] b;
    242242        var success = alglib.smatrixevd(sp.C, N, 1, true, out d, out b);
    243         Array.Copy(d, sp.D, N);
    244         for (var i = 0; i < N; i++)
    245           for (var j = 0; j < N; j++)
    246             sp.B[i, j] = b[i, j];
     243        sp.D = d;
     244        sp.B = b;
    247245
    248246        DegenerateStateParameter.ActualValue = new BoolValue(!success);
Note: See TracChangeset for help on using the changeset viewer.