Changeset 12850 for branches/DataAnalysis.ComplexityAnalyzer/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters
- Timestamp:
- 08/12/15 10:59:16 (9 years ago)
- Location:
- branches/DataAnalysis.ComplexityAnalyzer/HeuristicLab.Problems.DataAnalysis.Symbolic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis.ComplexityAnalyzer/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
-
branches/DataAnalysis.ComplexityAnalyzer/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionCSharpFormatter.cs
r12547 r12850 175 175 varNames.Add(((VariableTreeNode)node).VariableName); 176 176 } 177 foreach (var varName in varNames) { 178 strBuilder.Append("double " + varName); 179 if (varName != varNames.Last()) { 180 strBuilder.Append(", "); 181 } 182 } 177 178 var orderedNames = varNames.OrderBy(n => n, new NaturalStringComparer()).Select(n=> "double " + n); 179 strBuilder.Append(string.Join(", ", orderedNames)); 183 180 184 181 strBuilder.AppendLine(") {");
Note: See TracChangeset
for help on using the changeset viewer.