From c9f63f8e51426a4bd20360927c2810cc3e7ddcc8 Mon Sep 17 00:00:00 2001 From: Jan Pfeifer Date: Sat, 6 Jul 2024 08:55:58 +0200 Subject: [PATCH] Added int8 to Supported traits. --- dtypes/dtypes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtypes/dtypes.go b/dtypes/dtypes.go index f75e91d..e58f67e 100644 --- a/dtypes/dtypes.go +++ b/dtypes/dtypes.go @@ -345,7 +345,7 @@ func (dtype DType) IsSupported() bool { // Notice Go's `int` type is not portable, since it may translate to dtypes Int32 or Int64 depending // on the platform. type Supported interface { - bool | float32 | float64 | float16.Float16 | int | int32 | int64 | uint8 | uint32 | uint64 | complex64 | complex128 + bool | float32 | float64 | float16.Float16 | int | int8 | int16 | int32 | int64 | uint8 | uint32 | uint64 | complex64 | complex128 } // Number represents the Go numeric types that are supported by graph package.