From 5ad8d1c77f3d78157cb38a85675c24fe6a7ad849 Mon Sep 17 00:00:00 2001 From: wangfeng Date: Fri, 3 Mar 2023 12:09:23 +0800 Subject: [PATCH] =?UTF-8?q?and=E5=A2=9E=E5=8A=A0=E8=AF=86=E5=88=AB[]bool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stat/ndarray_fromnumeric.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stat/ndarray_fromnumeric.go b/stat/ndarray_fromnumeric.go index 48f5155..b5be540 100644 --- a/stat/ndarray_fromnumeric.go +++ b/stat/ndarray_fromnumeric.go @@ -222,6 +222,8 @@ func (self NDArray[T]) And(x any) Series { // b = Repeat[DType](DType(sx), length) case []DType: b = __NumberToBool_S(sx) + case []bool: + b = sx default: panic(Throw(x)) } -- Gitee