Merge pull request #86274 from samlich/sage-matrix-double-dense

sage: fix doctest matrix_double_dense is_unitary
This commit is contained in:
Timo Kaufmann 2020-05-01 22:12:10 +00:00 committed by GitHub
commit 7866440f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,14 @@ stdenv.mkDerivation rec {
url = "https://git.sagemath.org/sage.git/patch?id2=8bdc326ba57d1bb9664f63cf165a9e9920cc1afc&id=dc673c17555efca611f68398d5013b66e9825463";
sha256 = "1hhannz7xzprijakn2w2d0rhd5zv2zikik9p51i87bas3nc658f7";
})
# `is_unitary` test in `matrix_double_dense.pyx` fails with some BLAS implementations
# https://trac.sagemath.org/ticket/29297 should be included in 9.1
(fetchpatch {
name = "is_unitary-special-case.patch";
url = "https://git.sagemath.org/sage.git/patch?id=cc3eb9ffa991e328b09028d32aab7e7cc2ddbb6a";
sha256 = "0jq4w8hnp5c9q99011ldr4n3knvm1rx2g85z0hidv3i9x868p0ay";
})
# Unfortunately inclusion in upstream sage was rejected. Instead the bug was
# fixed in python, but of course not backported to 2.7. So we'll probably