Changeset 17066 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs
- Timestamp:
- 07/04/19 15:15:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs
r15584 r17066 1121 1121 // $ * 1.0 => $ 1122 1122 return a; 1123 } else if (IsConstant(b) && ((ConstantTreeNode)b).Value.IsAlmost(0.0)) { 1124 return MakeConstant(0); 1123 1125 } else if (IsConstant(b) && IsVariableBase(a)) { 1124 1126 // multiply constants into variables weights
Note: See TracChangeset
for help on using the changeset viewer.