Changeset 8657


Ignore:
Timestamp:
09/14/12 15:24:21 (7 years ago)
Author:
jkarder
Message:

#1853: fixed unintended correction of valid values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/OptimizableView.cs

    r8655 r8657  
    102102            // set of valid values is created before the assignment below
    103103            var configuration = viewHost.Content as CheckedValueConfigurationList;
    104             if (configuration != null) {
     104            if (configuration != null && configuration.ValidValues.Any(x => x.GetType() == Content.ActualValue.ValueDataType)) {
    105105              Content.ActualValue = new ConstrainedValue(Content.ActualValue.Value,
    106106                Content.ActualValue.ValueDataType,
Note: See TracChangeset for help on using the changeset viewer.