From 598c5fe1efff15a3ac338d64d03f674649e7acd9 Mon Sep 17 00:00:00 2001 From: Ash Vardanian <1983160+ashvardanian@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:02:29 +0000 Subject: [PATCH] Fix: Conflicting type on Windows --- scripts/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.py b/scripts/test.py index a4cb1d40..9a8ab9fc 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -614,7 +614,7 @@ def to_array(x, dtype=None): (simd.cosine, LookupError, (to_array([1 + 2j]), to_array([1 + 2j])), {}), # Test incompatible vectors for cosine (simd.cosine, ValueError, (to_array([1.0]), to_array([1.0, 2.0])), {}), # Different number of dimensions - (simd.cosine, TypeError, (to_array([1.0]), to_array([1], "uint32")), {}), # Floats and integers + (simd.cosine, TypeError, (to_array([1.0]), to_array([1], "int8")), {}), # Floats and integers (simd.cosine, TypeError, (to_array([1]), to_array([1], "float16")), {}), # Different floats ], )