- Timestamp:
- 06/26/08 14:59:06 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Functions/ModelAnalyzerExporter.cs
r310 r344 54 54 public void Visit(Constant constant) { 55 55 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)"; 57 57 } 58 58 … … 106 106 double offset = ((ConstrainedIntData)currentBranch.GetLocalVariable(HeuristicLab.Functions.Variable.OFFSET).Value).Data; 107 107 108 prefix += currentIndend + "[T]Variable(" + weight + ";" + index + ";" + -offset + ")";108 prefix += currentIndend + "[T]Variable(" + weight.ToString("r") + ";" + index + ";" + -offset + ")"; 109 109 } 110 110
Note: See TracChangeset
for help on using the changeset viewer.