Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A test test_tg01fd.test4_ag08bd failure #157

Closed
carlosal1015 opened this issue Oct 15, 2021 · 0 comments · Fixed by #158
Closed

A test test_tg01fd.test4_ag08bd failure #157

carlosal1015 opened this issue Oct 15, 2021 · 0 comments · Fixed by #158

Comments

@carlosal1015
Copy link

Hi Slycot Team, I am sharing the log of test test_tg01fd.test4_ag08bd over Arch Linux system as suggests the maintainer. The full log is here.

We are using:

============================= test session starts ==============================
platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
rootdir: /tmp/makepkg/python-slycot/src
collected 108 items

slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_ab01.py . [  0%]
                                                                         [  0%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_ab08n.py . [  1%]
.                                                                        [  2%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_ag08bd.py . [  3%]
..F                                                                      [  6%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_analysis.py . [  7%]
..................                                                       [ 24%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_examples.py . [ 25%]
............                                                             [ 36%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_exceptions.py . [ 37%]
..                                                                       [ 38%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_mb.py . [ 39%]
.........                                                                [ 48%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_mc.py . [ 49%]
..                                                                       [ 50%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_sb.py . [ 51%]
............................                                             [ 77%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_sg02ad.py . [ 78%]
                                                                         [ 78%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_sg03ad.py . [ 79%]
..                                                                       [ 81%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_tb05ad.py . [ 82%]
.....                                                                    [ 87%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_td04ad.py . [ 87%]
......                                                                   [ 93%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_tg01ad.py . [ 94%]
                                                                         [ 94%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_tg01fd.py . [ 95%]
.                                                                        [ 96%]
slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_transform.py . [ 97%]
...                                                                      [100%]

=================================== FAILURES ===================================
___________________________ test_tg01fd.test4_ag08bd ___________________________

self = <slycot.tests.test_ag08bd.test_tg01fd testMethod=test4_ag08bd>

    def test4_ag08bd(self):
        """test [A-lambda*E,B;C,D]"""
    
        Af,Ef,nrank,niz,infz,kronr,infe,kronl = analysis.ag08bd(l=test1_l,n=test1_n,m=test1_m,p=test1_p,A=test1_A,E=test1_E,B=test1_B,C=test1_C,D=test1_D,equil=test1_equil, tol=test1_tol)
    
>       assert_almost_equal(Af, [[0.77045021]])
E       AssertionError: 
E       Arrays are not almost equal to 7 decimals
E       
E       Mismatched elements: 1 / 1 (100%)
E       Max absolute difference: 1.54090042
E       Max relative difference: 1.99999999
E        x: array([[-0.7704502]])
E        y: array([[0.7704502]])

slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_ag08bd.py:111: AssertionError
=========================== short test summary info ============================
FAILED slycot-0.4.0.0/_skbuild/linux-x86_64-3.9/setuptools/lib/slycot/tests/test_ag08bd.py::test_tg01fd::test4_ag08bd
======================== 1 failed, 107 passed in 1.32s =========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant