Changeset 17055 for stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Timestamp:
- 07/04/19 13:01:33 (5 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk merged: 16764,16868
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 16764,16868
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionExcelFormatter.cs
r15584 r17055 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(")*("); … … 129 129 stringBuilder.Append(")"); 130 130 } 131 stringBuilder.Append(") ");131 stringBuilder.Append("))"); 132 132 } else if (symbol is Constant) { 133 133 ConstantTreeNode constantTreeNode = node as ConstantTreeNode; … … 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.