Changeset 18188
- Timestamp:
- 01/12/22 15:54:45 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/StructureTemplate/StructureTemplate.cs
r18187 r18188 29 29 } 30 30 31 private ISymbolicExpressionTree _oldTree; 32 [Storable(OldName = "treeWithoutLinearScaling")] 33 private ISymbolicExpressionTree _OldTreeW { 34 set => _oldTree = value; 35 } 36 31 37 [Storable] 32 38 private ISymbolicExpressionTree tree; … … 92 98 [StorableHook(HookType.AfterDeserialization)] 93 99 private void AfterDeserialization() { 100 if (Tree == null && _oldTree != null) { 101 if (ApplyLinearScaling) _oldTree = AddLinearScalingTerms(_oldTree); 102 Tree = _oldTree; 103 _oldTree = null; 104 } 105 94 106 RegisterEventHandlers(); 95 107 }
Note: See TracChangeset
for help on using the changeset viewer.