Changeset 7653
- Timestamp:
- 03/22/12 13:23:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionMATLABFormatter.cs
r7630 r7653 212 212 stringBuilder.Append(")"); 213 213 } else if (symbol is Subtraction) { 214 stringBuilder.Append("("); 214 215 if (node.SubtreeCount == 1) { 215 stringBuilder.Append("- 1*");216 stringBuilder.Append("-"); 216 217 stringBuilder.Append(FormatRecursively(node.GetSubtree(0))); 217 218 } else { … … 222 223 } 223 224 } 225 stringBuilder.Append(")"); 224 226 } else if (symbol is Tangent) { 225 227 stringBuilder.Append("tan(");
Note: See TracChangeset
for help on using the changeset viewer.