Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/08 14:59:06 (16 years ago)
Author:
gkronber
Message:

merged changes r338 r339 r340 r341 r342 r343 from the ticket-specific branch into the main trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/ModelAnalyzerExporter.cs

    r310 r344  
    5454    public void Visit(Constant constant) {
    5555      double value = ((ConstrainedDoubleData)currentBranch.GetLocalVariable(HeuristicLab.Functions.Constant.VALUE).Value).Data;
    56       prefix += currentIndend + "[T]Constant(" + value + ";0;0)";
     56      prefix += currentIndend + "[T]Constant(" + value.ToString("r") + ";0;0)";
    5757    }
    5858
     
    106106      double offset = ((ConstrainedIntData)currentBranch.GetLocalVariable(HeuristicLab.Functions.Variable.OFFSET).Value).Data;
    107107
    108       prefix += currentIndend + "[T]Variable(" + weight + ";" + index + ";" + -offset + ")";
     108      prefix += currentIndend + "[T]Variable(" + weight.ToString("r") + ";" + index + ";" + -offset + ")";
    109109    }
    110110
Note: See TracChangeset for help on using the changeset viewer.