Skip to content

Conversation

@eriknw
Copy link
Member

@eriknw eriknw commented Dec 25, 2021

Very small change that I've been considering for a couple years now. x.ndim is sometimes convenient to write code that works with Scalar, Vector, or Matrix objects. We've been using len(x.shape) fairly often in dask-grblas.

@jim22k jim22k merged commit f844bc5 into python-graphblas:main Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants