Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8583


Ignore:
Timestamp:
09/05/12 23:06:39 (12 years ago)
Author:
gkronber
Message:

#1902 fixed build fail.

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceMaternIso.cs

    r8582 r8583  
    8383      validDValues.Add((IntValue)new IntValue(5).AsReadOnly());
    8484      dParameter = new ConstrainedValueParameter<IntValue>("D", "The d parameter (allowed values: 1, 3, or 5) of the isometric Matern covariance function.", validDValues, validDValues.First());
     85      d = dParameter.Value.Value;
    8586
    8687      Parameters.Add(inverseLengthParameter);
  • trunk/sources/HeuristicLab.Tests/HeuristicLab.Algorithms.DataAnalysis-3.4/GaussianProcessFunctionsTest.cs

    r8565 r8583  
    594594    public void CovMaternIsoTest() {
    595595      var cov = new CovarianceMaternIso();
    596       cov.D = 1;
     596      cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 1);
    597597      TestCovarianceFunction(cov, 0,
    598598        new double[,]
     
    639639
    640640      cov = new CovarianceMaternIso();
    641       cov.D = 1;
     641      cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 1);
    642642      TestCovarianceFunction(cov, 1,
    643643         new double[,]
     
    684684
    685685      cov = new CovarianceMaternIso();
    686       cov.D = 5;
     686      cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 5);
    687687      TestCovarianceFunction(cov, 0,
    688688         new double[,]
     
    729729
    730730      cov = new CovarianceMaternIso();
    731       cov.D = 5;
     731      cov.DParameter.Value = cov.DParameter.ValidValues.Single(x => x.Value == 5);
    732732      TestCovarianceFunction(cov, 1,
    733733         new double[,]
Note: See TracChangeset for help on using the changeset viewer.