Skip to content

Conversation

@abraunst
Copy link
Contributor

@abraunst abraunst commented Apr 17, 2021

Fixes #40505

@abraunst abraunst changed the title add spzeros(::Tuple{<Integer}) add spzeros(::Tuple{<:Integer}) Apr 17, 2021
@dkarrasch
Copy link
Member

Shall we have a little test to make sure this "new functionality" doesn't regress?

@dkarrasch dkarrasch added the sparse Sparse arrays label Apr 17, 2021
@abraunst
Copy link
Contributor Author

Shall we have a little test to make sure this "new functionality" doesn't regress?

Sure

@abraunst
Copy link
Contributor Author

I added two more missing versions of spzeros with type parameters and dims and added some tests.

Co-authored-by: Daniel Karrasch <[email protected]>
@dkarrasch dkarrasch added the merge me PR is reviewed. Merge when all tests are passing label Apr 18, 2021
@abraunst
Copy link
Contributor Author

There are two errors in the commit messages 😓 (< instead of <: and a wrong order in type parameters). Should I rebase + squash + rewrite the commit message? Otherwise please correct or simplify the message when merging.

@dkarrasch
Copy link
Member

Typically, I delete all intermediate commit messages and only keep the PR title upon merging. So you still have a few minutes to update the title if you wish. 😉 But I don't think it's necessary IMHO.

@abraunst
Copy link
Contributor Author

Typically, I delete all intermediate commit messages and only keep the PR title upon merging. So you still have a few minutes to update the title if you wish. But I don't think it's necessary IMHO.

Thanks! The title is fine 👍

@dkarrasch dkarrasch merged commit 36a048c into JuliaLang:master Apr 18, 2021
@dkarrasch dkarrasch removed the merge me PR is reviewed. Merge when all tests are passing label Apr 18, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sparse Sparse arrays

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spzeros((2,)) is not defined

2 participants