Changeset 12958 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SchemaDiversification/UpdateEstimatedValuesOperator.cs
- Timestamp:
- 09/21/15 01:03:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SchemaDiversification/UpdateEstimatedValuesOperator.cs
r12951 r12958 29 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 30 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic .Tracking{31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 32 32 [Item("UpdateEstimatedValuesOperator", "Put the estimated values of the tree in the scope to be used by the phenotypic similarity calculator")] 33 33 [StorableClass] … … 82 82 else 83 83 variables.Add(new Core.Variable("EstimatedValues", new DoubleArray(estimatedValues))); 84 var quality = (DoubleValue)variables["Quality"].Value;85 if (double.IsNaN(quality.Value))86 quality.Value = 0.0;87 84 return base.Apply(); 88 85 }
Note: See TracChangeset
for help on using the changeset viewer.