Skip to content

Commit

Permalink
fix: rename issparse in pytorch backend
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Aug 1, 2024
1 parent e9f3e32 commit 3e2a0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiboml/backends/pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def issparse(self, x):
if isinstance(x, self.np.Tensor):
return x.is_sparse

return super().issparse(x)
return super().is_sparse(x)

def to_numpy(self, x):
if isinstance(x, list):
Expand Down

0 comments on commit 3e2a0e5

Please sign in to comment.