Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Fix bug with 0s in sparse matrix for LCC calculation #805

Merged
merged 6 commits into from Jul 1, 2021

Conversation

bdpedigo
Copy link
Collaborator

  • Does this PR add any new dependencies?
  • Does this PR modify any existing APIs?
    • Is the change to the API backwards compatible?
  • Have you built the documentation (reference and/or tutorial) and verified the generated documentation is appropriate?

What does this implement/fix? Briefly explain your changes.

Fixes a bug where explicit 0s stored in a scipy sparse matrix were treated as edges for the purposes of the largest connected component calculation. This was potentially causing inconsistent behavior depending on whether the array was represented as sparse or dense.

@netlify
Copy link

netlify bot commented Jun 24, 2021

❌ Deploy Preview for graspologic failed.

🔨 Explore the source changes: f5e0807

🔍 Inspect the deploy log: https://app.netlify.com/sites/graspologic/deploys/60dde88bfcd3e700072a7891

@bdpedigo
Copy link
Collaborator Author

@daxpryce you mentioned you were fine with this PR, mind approving?

@bdpedigo bdpedigo added this to Needs Triage in PRs via automation Jul 1, 2021
@bdpedigo bdpedigo moved this from Needs Triage to Ready For Merge in PRs Jul 1, 2021
@bdpedigo bdpedigo merged commit 1d220ef into dev Jul 1, 2021
PRs automation moved this from Ready For Merge to Done Jul 1, 2021
@bdpedigo bdpedigo deleted the lcc-empty-bug-fix branch July 1, 2021 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
PRs
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants