Free cookie consent management tool by TermsFeed Policy Generator

Changeset 338 for branches


Ignore:
Timestamp:
06/26/08 11:09:49 (16 years ago)
Author:
gkronber
Message:

fixed serialization for HeuristicLab.Random plugin (#175)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ticket175Branch/HeuristicLab.Random/NormalDistributedRandom.cs

    r138 r338  
    516516
    517517      XmlNode muNode = document.CreateNode(XmlNodeType.Element, "Mu", null);
    518       muNode.InnerText = mu.ToString(CultureInfo.InvariantCulture);
     518      muNode.InnerText = mu.ToString("r", CultureInfo.InvariantCulture);
    519519      node.AppendChild(muNode);
    520520
    521521      XmlNode sigmaNode = document.CreateNode(XmlNodeType.Element, "Sigma", null);
    522       sigmaNode.InnerText = sigma.ToString(CultureInfo.InvariantCulture);
     522      sigmaNode.InnerText = sigma.ToString("r", CultureInfo.InvariantCulture);
    523523      node.AppendChild(sigmaNode);
    524524
Note: See TracChangeset for help on using the changeset viewer.