This repository was archived by the owner on Oct 8, 2021. It is now read-only.
fix induced_subgraph indexing with vector of Bools#1573
Open
bkamins wants to merge 3 commits intosbromberger:masterfrom
Open
fix induced_subgraph indexing with vector of Bools#1573bkamins wants to merge 3 commits intosbromberger:masterfrom
bkamins wants to merge 3 commits intosbromberger:masterfrom
Conversation
Currently both `getindex` and `induced_subgraph` handle `AbstractVector{Bool}` argument in a way inconsistent with Julia Base rules.
Codecov Report
@@ Coverage Diff @@
## master #1573 +/- ##
=======================================
Coverage 99.44% 99.44%
=======================================
Files 106 106
Lines 5551 5554 +3
=======================================
+ Hits 5520 5523 +3
Misses 31 31 |
Owner
|
Sorry - what's the specific problem here? |
Owner
|
It seems as if you're trying to use a bitvec / vector of boolean where |
Contributor
Author
|
I agree it does not work this way now. That is why I propose to change it (indeed - docstrings should be updated then; I can fix it if you agree to the proposal).
|
sbromberger
approved these changes
Sep 21, 2021
This was referenced Oct 29, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently both
getindexandinduced_subgraphhandleAbstractVector{Bool}argument in a way inconsistent with Julia Base rules.