Skip to content

Commit

Permalink
Recognize "COOR" format and use simpler representation for it.
Browse files Browse the repository at this point in the history
  • Loading branch information
hameerabbasi committed Sep 26, 2024
1 parent 4602376 commit df1abb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sparse/numba_backend/_coo/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,9 @@ def __binsparse__(self) -> tuple[dict, list[np.ndarray]]:
},
}
}
},
}
if self.ndim != 2
else "COOR",
"shape": list(self.shape),
"number_of_stored_values": self.nnz,
"data_types": {
Expand Down

0 comments on commit df1abb7

Please sign in to comment.