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

#2451: Fixed bug in constructor

File:
1 edited

Legend:

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

    r12012 r12837  
    130130      }
    131131
    132       LengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
    133       BoundsParameter = new ValueParameter<IntMatrix>(Name + ".Bounds", bounds);
     132      lengthParameter = new FixedValueParameter<IntValue>(Name + ".Length", new IntValue(length));
     133      boundsParameter = new ValueParameter<IntMatrix>(Name + ".Bounds", bounds);
     134      Parameters.Add(lengthParameter);
     135      Parameters.Add(boundsParameter);
    134136
    135137      SolutionCreator = new UniformRandomIntegerVectorCreator();
Note: See TracChangeset for help on using the changeset viewer.