diff options
author | a821 | 2022-12-13 10:47:57 +0100 |
---|---|---|
committer | a821 | 2022-12-13 10:47:57 +0100 |
commit | ac0040d848a351d1400c177cd28dd3fcb1535667 (patch) | |
tree | ea5b79bf8363f1972a756360800cf75b8556db8e /.SRCINFO | |
parent | e4743c8ff6776fc18e6a6c0ffbb87a1b594e67b9 (diff) | |
download | aur-ac0040d848a351d1400c177cd28dd3fcb1535667.tar.gz |
Fix: np.matrix type not supported by sklearn
Some tests fail because the function `pairwise_distance` does not
support the `numpy.matrix` type. The error suggest to call
`numpy.asarray` first on the argument, so this patch does just that.
Diffstat (limited to '.SRCINFO')
-rw-r--r-- | .SRCINFO | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pynndescent pkgdesc = Simple fast approximate nearest neighbor search pkgver = 0.5.8 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lmcinnes/pynndescent arch = any license = BSD @@ -12,6 +12,8 @@ pkgbase = python-pynndescent depends = python-scikit-learn depends = python-scipy source = https://pypi.io/packages/source/p/pynndescent/pynndescent-0.5.8.tar.gz + source = asarray.patch sha256sums = a7c552569bf604a101fd54bba1d27c12389e065945dee3a6777a518c63a46f2b + sha256sums = 240c9413befb3f7dd58a0f02a32e58a07c54abeef70cdaa222a3ec7bd8da7d63 pkgname = python-pynndescent |