Skip to content

Commit df1abb7

Browse files
committed
Recognize "COOR" format and use simpler representation for it.
1 parent 4602376 commit df1abb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sparse/numba_backend/_coo/core.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1556,7 +1556,9 @@ def __binsparse__(self) -> tuple[dict, list[np.ndarray]]:
15561556
},
15571557
}
15581558
}
1559-
},
1559+
}
1560+
if self.ndim != 2
1561+
else "COOR",
15601562
"shape": list(self.shape),
15611563
"number_of_stored_values": self.nnz,
15621564
"data_types": {

0 commit comments

Comments
 (0)