From 01f9151d81a3b76b292c180f524ce92a4466ebd8 Mon Sep 17 00:00:00 2001 From: J08nY Date: Sun, 5 Jul 2020 19:32:43 +0200 Subject: [PATCH] Fix float16 being a floating type. --- datashape/typesets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datashape/typesets.py b/datashape/typesets.py index bfcec97..b74a138 100644 --- a/datashape/typesets.py +++ b/datashape/typesets.py @@ -112,7 +112,7 @@ def __getitem__(self, key): unsigned = TypeSet(uint8, uint16, uint32, uint64, name='unsigned') integral = TypeSet(*[x for t in zip(signed, unsigned) for x in t], name='integral') -floating = TypeSet(float32, float64, name='floating') +floating = TypeSet(float16, float32, float64, name='floating') complexes = TypeSet(complex64, complex128, name='complexes') boolean = TypeSet(bool_, name='boolean')