Changeset 7938
- Timestamp:
- 05/30/12 17:21:52 (13 years ago)
- Location:
- branches/DataAnalysisService/HeuristicLab.Encodings.ParameterConfigurationTreeEncoding/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysisService/HeuristicLab.Encodings.ParameterConfigurationTreeEncoding/3.3/HeuristicLab.Encodings.ParameterConfigurationTreeEncoding.csproj
r7911 r7938 76 76 <Compile Include="Properties\AssemblyInfo.cs" /> 77 77 <Compile Include="RangeConstraints\ConstrainedValue.cs" /> 78 <Compile Include="RangeConstraints\IntValueFactorRange.cs" /> 78 79 <Compile Include="RangeConstraints\DoubleValueFactorRange.cs" /> 79 80 <Compile Include="RangeConstraints\DoubleValueRange.cs" /> -
branches/DataAnalysisService/HeuristicLab.Encodings.ParameterConfigurationTreeEncoding/3.3/ParameterConfigurations/ParameterConfiguration.cs
r7840 r7938 556 556 var clonedValue = this.ActualValue.Value != null ? (IItem)this.ActualValue.Value.Clone() : null; 557 557 if (clonedValue != null) AdaptValidValues(parameter, clonedValue); 558 parameter.Value = clonedValue; 558 if (parameter is IFixedValueParameter<IntValue>) { 559 ((IntValue)parameter.Value).Value = ((IntValue)clonedValue).Value; 560 } else if (parameter is FixedValueParameter<DoubleValue>) { 561 ((DoubleValue)parameter.Value).Value = ((DoubleValue)clonedValue).Value; 562 } else { 563 parameter.Value = clonedValue; 564 } 559 565 } 560 566
Note: See TracChangeset
for help on using the changeset viewer.