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

We should fix elementwise comparison everywhere #27

Open
briling opened this issue Apr 12, 2024 · 0 comments
Open

We should fix elementwise comparison everywhere #27

briling opened this issue Apr 12, 2024 · 0 comments

Comments

@briling
Copy link
Contributor

briling commented Apr 12, 2024

E.g.:

(qstack) 20:30:28-xe@dhcp-173-dist-b-103:~/GIT/Q-stack> pytest tests/test_global.py 
========================================================== test session starts ==========================================================
platform linux -- Python 3.9.7, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/xe/GIT/Q-stack
collected 2 items                                                                                                                       

tests/test_global.py ..                                                                                                           [100%]

=========================================================== warnings summary ============================================================
tests/test_global.py::test_avg_kernel
tests/test_global.py::test_avg_kernel
tests/test_global.py::test_rem_kernel
tests/test_global.py::test_rem_kernel
  /home/xe/GIT/Q-stack/qstack/regression/kernel_utils.py:169: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
    if X[0] == Y[0]:

-- Docs: https://docs.pytest.org/en/stable/warnings.html
===================================================== 2 passed, 4 warnings in 0.38s =====================================================
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

No branches or pull requests

1 participant