Skip to content

Commit

Permalink
Update Conversion.cs (#5627)
Browse files Browse the repository at this point in the history
  • Loading branch information
4201104140 authored Feb 22, 2021
1 parent 5ec4472 commit 1d52f39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.ML.Data/Data/Conversion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ public void Convert(in BL src, ref SB dst)
public void Convert(in R8 src, ref TX dst) => dst = src.ToString("G17", CultureInfo.InvariantCulture).AsMemory();
public void Convert(in BL src, ref TX dst) => dst = src.ToString().AsMemory();
public void Convert(in TS src, ref TX dst) => dst = string.Format("{0:c}", src).AsMemory();
public void Convert(in DT src, ref TX dst) => string.Format("{0:o}", src).AsMemory();
public void Convert(in DZ src, ref TX dst) => string.Format("{0:o}", src).AsMemory();
public void Convert(in DT src, ref TX dst) => dst = string.Format("{0:o}", src).AsMemory();
public void Convert(in DZ src, ref TX dst) => dst = string.Format("{0:o}", src).AsMemory();
#endregion ToTX

#region ToBL
Expand Down Expand Up @@ -1733,4 +1733,4 @@ public void Convert(in TX src, ref SB dst)
public void Convert(in DT src, ref DT dst) => dst = src;
#endregion ToDT
}
}
}

0 comments on commit 1d52f39

Please sign in to comment.