Changeset 7938 for branches/DataAnalysisService/HeuristicLab.Encodings.ParameterConfigurationTreeEncoding/3.3/ParameterConfigurations
- Timestamp:
- 05/30/12 17:21:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.