Skip to content

Commit 36a6ca3

Browse files
Merge 43af6e7 into 0435f6b
2 parents 0435f6b + 43af6e7 commit 36a6ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Microsoft.ML.AutoML/Sweepers/Parameters.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
using System;
66
using System.Collections.Generic;
7+
using System.Globalization;
78
using Microsoft.ML.Internal.Utilities;
89

910
namespace Microsoft.ML.AutoML
@@ -128,7 +129,7 @@ public FloatParameterValue(string name, float value)
128129
Runtime.Contracts.Assert(!float.IsNaN(value));
129130
_name = name;
130131
_value = value;
131-
_valueText = _value.ToString("R");
132+
_valueText = _value.ToString("R", CultureInfo.InvariantCulture);
132133
}
133134

134135
public bool Equals(IParameterValue other)

0 commit comments

Comments
 (0)