Skip to content

Commit

Permalink
Fix: Conflicting type on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Nov 4, 2024
1 parent 0ce4024 commit 598c5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
],
)
Expand Down

0 comments on commit 598c5fe

Please sign in to comment.