Changeset 10044 for branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions
- Timestamp:
- 10/16/13 16:25:35 (11 years ago)
- Location:
- branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions/Number.cs
r10011 r10044 21 21 22 22 using System.Collections.Generic; 23 using System.Globalization; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; … … 52 53 53 54 public override string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) { 54 return ((NumberTreeNode)node).Value.ToString( );55 return ((NumberTreeNode)node).Value.ToString(CultureInfo.InvariantCulture); 55 56 } 56 57 } -
branches/Robocode.TrunkInt/HeuristicLab.Problems.Robocode/3.3/Symbols/Numerical Expressions/ShotPower.cs
r10011 r10044 21 21 22 22 using System.Collections.Generic; 23 using System.Globalization; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; … … 52 53 53 54 public override string Interpret(ISymbolicExpressionTreeNode node, IEnumerable<ISymbolicExpressionTreeNode> children) { 54 return ((ShotPowerTreeNode)node).Value.ToString( );55 return ((ShotPowerTreeNode)node).Value.ToString(CultureInfo.InvariantCulture); 55 56 } 56 57 }
Note: See TracChangeset
for help on using the changeset viewer.