Skip to content

Be more forgiving when assigning UDT scalar to everything#299

Merged
eriknw merged 1 commit into
python-graphblas:mainfrom
eriknw:flexible_udt_assign_scalar
Oct 26, 2022
Merged

Be more forgiving when assigning UDT scalar to everything#299
eriknw merged 1 commit into
python-graphblas:mainfrom
eriknw:flexible_udt_assign_scalar

Conversation

@eriknw

@eriknw eriknw commented Oct 22, 2022

Copy link
Copy Markdown
Member

This allows e.g A << (1, 2, 3) to assign a scalar to every value. Before, we required A[:, :] = (1, 2, 3).

I don't think there was any reason I didn't do this before other than I overlooked it.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.008%) to 98.668% when pulling a3be6d3 on eriknw:flexible_udt_assign_scalar into d0c41f2 on python-graphblas:main.

@eriknw eriknw requested a review from jim22k October 22, 2022 03:50
@eriknw eriknw added the enhancement Improve existing functionality or make things work better label Oct 22, 2022
@eriknw eriknw merged commit 5852ff3 into python-graphblas:main Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve existing functionality or make things work better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants