We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dae1a81 commit 21c31f3Copy full SHA for 21c31f3
elephant/conversion.py
@@ -693,6 +693,10 @@ def __getitem__(self, item):
693
"""
694
# taken from csr_matrix.__getitem__
695
valid_indices = self.sparse_matrix._validate_indices(item)
696
+ # TODO: The following is a hot fix to compensate an API change in SciPy 1.15 (#653)
697
+ # Currently, we cannot set scipy>=1.15 since this would not allow for Python 3.9.
698
+ # Once we phase out support for Python 3.9, remove the if statement and the else
699
+ # branch and require scipy>=1.15.
700
if isinstance(valid_indices[0], tuple):
701
# New version of SciPy (1.15 and later)
702
row, col = valid_indices[0]
0 commit comments