From 0e8107d71dc09dac175d2054aabbdeb268e0632c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 29 Mar 2024 11:47:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- sparse/pydata_backend/_compressed/compressed.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sparse/pydata_backend/_compressed/compressed.py b/sparse/pydata_backend/_compressed/compressed.py index b460a884d..8713bfc2e 100644 --- a/sparse/pydata_backend/_compressed/compressed.py +++ b/sparse/pydata_backend/_compressed/compressed.py @@ -863,6 +863,7 @@ class CSR(_Compressed2d): Sparse supports 2-D CSR. """ + class_compressed_axes: tuple[int] = (0,) def __init__(self, arg, shape=None, compressed_axes=class_compressed_axes, prune=False, fill_value=0): @@ -891,6 +892,7 @@ class CSC(_Compressed2d): Sparse supports 2-D CSC. """ + class_compressed_axes: tuple[int] = (1,) def __init__(self, arg, shape=None, compressed_axes=class_compressed_axes, prune=False, fill_value=0):