Changeset 5817


Ignore:
Timestamp:
03/23/11 13:22:47 (11 years ago)
Author:
gkronber
Message:

#1418 fixed bug in LaTeX formatter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Formatters/SymbolicDataAnalysisExpressionLatexFormatter.cs

    r5809 r5817  
    174174        string p = @"1 / \left( 1 + \exp \left( - c_{" + constants.Count + "} ";
    175175        constants.Add(conditionTreeNode.Slope);
    176         p += @" \cdot \left(" + conditionTreeNode.VariableName + LagToString(currentLag) + " - c_{" + constants.Count + "} \right) \right) \right)";
     176        p += @" \cdot \left(" + conditionTreeNode.VariableName + LagToString(currentLag) + " - c_{" + constants.Count + @"} \right) \right) \right)";
    177177        constants.Add(conditionTreeNode.Threshold);
    178178        strBuilder.Append(@"\left( " + p + @"\cdot ");
     
    230230        string p = @"1 / \left( 1 + \exp \left( - c_{" + constants.Count + "} ";
    231231        constants.Add(conditionTreeNode.Slope);
    232         p += @" \cdot \left(" + conditionTreeNode.VariableName + LagToString(currentLag) + " - c_{" + constants.Count + "} \right) \right) \right)";
     232        p += @" \cdot \left(" + conditionTreeNode.VariableName + LagToString(currentLag) + " - c_{" + constants.Count + @"} \right) \right) \right)";
    233233        constants.Add(conditionTreeNode.Threshold);
    234234        strBuilder.Append(@" + \left( 1 - " + p + @" \right) \cdot ");
Note: See TracChangeset for help on using the changeset viewer.