Changeset 12689 for branches/HiveStatistics/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionCSharpFormatter.cs
- Timestamp:
- 07/08/15 15:32:12 (9 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
-
branches/HiveStatistics/sources/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 12641,12645,12674
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionCSharpFormatter.cs
r12434 r12689 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.