Free cookie consent management tool by TermsFeed Policy Generator

Changeset 18012


Ignore:
Timestamp:
07/16/21 17:53:44 (3 years ago)
Author:
gkronber
Message:

#3087 fixed compile error in unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3087_Ceres_Integration/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/SymbolicDataAnalysisExpressionTreeInterpreterTest.cs

    r18006 r18012  
    2525using System.Linq;
    2626using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     27using HeuristicLab.NativeInterpreter;
    2728using HeuristicLab.Random;
    2829using Microsoft.VisualStudio.TestTools.UnitTesting;
     
    165166      var rows = Enumerable.Range(0, nRows).ToArray();
    166167      var options = new SolverOptions {
    167         Minimizer = (int)MinimizerType.TRUST_REGION,
     168        Minimizer = CeresTypes.Minimizer.TRUST_REGION,
    168169        Iterations = 20,
    169         TrustRegionStrategy = (int)TrustRegionStrategyType.LEVENBERG_MARQUARDT,
    170         LinearSolver = (int)LinearSolverType.DENSE_QR
     170        TrustRegionStrategy = CeresTypes.TrustRegionStrategy.LEVENBERG_MARQUARDT,
     171        LinearSolver = CeresTypes.LinearSolver.DENSE_QR
    171172      };
    172173
     
    222223      var rows = Enumerable.Range(0, nRows).ToArray();
    223224      var options = new SolverOptions {
    224         Minimizer = (int)MinimizerType.TRUST_REGION,
     225        Minimizer = CeresTypes.Minimizer.TRUST_REGION,
    225226        Iterations = 100,
    226         TrustRegionStrategy = (int)TrustRegionStrategyType.LEVENBERG_MARQUARDT,
    227         LinearSolver = (int)LinearSolverType.DENSE_QR
     227        TrustRegionStrategy = CeresTypes.TrustRegionStrategy.LEVENBERG_MARQUARDT,
     228        LinearSolver = CeresTypes.LinearSolver.DENSE_QR
    228229      };
    229230
Note: See TracChangeset for help on using the changeset viewer.