Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/04/15 11:45:28 (9 years ago)
Author:
abeham
Message:

#2451: Fixed bug in constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs

    r12012 r12837  
    124124        bounds[i, 1] = max[i];
    125125      }
    126       LengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
    127       BoundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds);
     126      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
     127      boundsParameter = new ValueParameter<DoubleMatrix>(Name + ".Bounds", bounds);
     128      Parameters.Add(lengthParameter);
     129      Parameters.Add(boundsParameter);
    128130
    129131      SolutionCreator = new UniformRandomRealVectorCreator();
Note: See TracChangeset for help on using the changeset viewer.