Skip to content

Commit

Permalink
Merge pull request #8 from pakiessling/fixed_scipy_deprecation
Browse files Browse the repository at this point in the history
Fixed make_dense Scipy .A deprecation
  • Loading branch information
stefanpeidli authored Oct 29, 2024
2 parents 3b14dd2 + 5466325 commit 8e9756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mousipy/mousipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def make_dense(X):
# robustly make an array dense
if issparse(X):
return X.A
return X.toarray()
else:
return X

Expand Down

0 comments on commit 8e9756d

Please sign in to comment.