From 546632564d32bce2d23667e8d6acb68ecc9b2c73 Mon Sep 17 00:00:00 2001 From: Paul Kiessling Date: Wed, 23 Oct 2024 17:15:20 +0200 Subject: [PATCH] Fixed make_dense Scipy .A deprecation --- src/mousipy/mousipy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mousipy/mousipy.py b/src/mousipy/mousipy.py index 1ff1b7a..5b6c8d2 100644 --- a/src/mousipy/mousipy.py +++ b/src/mousipy/mousipy.py @@ -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