Skip to content

Commit a0ceabb

Browse files
committed
undo DvBool.
1 parent a99831b commit a0ceabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.ML.Core/Data/DataKind.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public static bool TryGetDataKind(this Type type, out DataKind kind)
235235
kind = DataKind.R8;
236236
else if (type == typeof(DvText))
237237
kind = DataKind.TX;
238-
else if (type == typeof(bool) || type == typeof(bool?))
238+
else if (type == typeof(DvBool) || type == typeof(bool) || type == typeof(bool?))
239239
kind = DataKind.BL;
240240
else if (type == typeof(DvTimeSpan))
241241
kind = DataKind.TS;

0 commit comments

Comments
 (0)