Changeset 16764 for trunk/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 04/04/19 16:47:28 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionExcelFormatter.cs
r16702 r16764 120 120 stringBuilder.Append(")"); 121 121 } else if (symbol is Average) { 122 stringBuilder.Append("(1/ ");122 stringBuilder.Append("(1/("); 123 123 stringBuilder.Append(node.SubtreeCount); 124 124 stringBuilder.Append(")*("); … … 139 139 } else if (symbol is Division) { 140 140 if (node.SubtreeCount == 1) { 141 stringBuilder.Append("1/"); 142 stringBuilder.Append(FormatRecursively(node.GetSubtree(0))); 141 stringBuilder.Append("1/("); 142 stringBuilder.Append(FormatRecursively(node.GetSubtree(0))); 143 stringBuilder.Append(")"); 143 144 } else { 144 145 stringBuilder.Append(FormatRecursively(node.GetSubtree(0)));
Note: See TracChangeset
for help on using the changeset viewer.