Changeset 18146 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/LinearModelToTreeConverter.cs
- Timestamp:
- 12/16/21 14:23:48 (3 years ago)
- Location:
- branches/3136_Structural_GP
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/LinearModelToTreeConverter.cs
r17180 r18146 58 58 59 59 if (@const!=0.0) { 60 ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();60 NumberTreeNode cNode = (NumberTreeNode)new Number().CreateTreeNode(); 61 61 cNode.Value = @const; 62 62 add.AddSubtree(cNode); … … 99 99 100 100 if (!@const.IsAlmost(0.0)) { 101 ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();101 NumberTreeNode cNode = (NumberTreeNode)new Number().CreateTreeNode(); 102 102 cNode.Value = @const; 103 103 addition.AddSubtree(cNode); … … 130 130 131 131 if (!@const.IsAlmost(0.0)) { 132 ConstantTreeNode cNode = (ConstantTreeNode)new Constant().CreateTreeNode();132 NumberTreeNode cNode = (NumberTreeNode)new Number().CreateTreeNode(); 133 133 cNode.Value = @const; 134 134 addition.AddSubtree(cNode);
Note: See TracChangeset
for help on using the changeset viewer.