Changeset 16206 for trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs
- Timestamp:
- 10/02/18 09:57:10 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Converters/TreeSimplifier.cs
r15583 r16206 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.