Failure on macOS
Closed this issue · 2 comments
As noted in #374, toqito.perms
module might not work as intended on macOS
. The following test fails on macOS
which is why it is skipped in a Github workflow for macOS
.
toqito/toqito/perms/tests/test_antisymmetric_projection.py
Lines 20 to 23 in 8606650
To fix this issue: Check functions from toqito.perms
in a macOS
virtual machine or an actual macOS
device.
This could possibly be an issue in scipy
and/or numpy
. If this is the case, recreate the issue with a simple reproducible example without using functions in toqito
. For more info, see numpy/numpy#25395 (comment))
Failure Message
FAILED toqito/perms/tests/test_antisymmetric_projection.py::test_antisymmetric_projection[3-3-True-expected_result3] - IndexError: boolean index did not match indexed array along dimension 0; dimension is 1 but corresponding boolean dimension is 27
If no one has taken interest in this issue and is not part of a project, I'd like to take this one on.
I use a Mac on a daily basis.