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.
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
sparse_row and SRow accept NCRing instead of Ring #1322
sparse_row and SRow accept NCRing instead of Ring #1322
Changes from all commits
41678ac
9abef0c
302c3bb
950fefa
55e6b4a
8676d2a
b673a30
22bee55
719c07a
5e6150e
25e4395
376cbdd
4228cfe
86cf707
28a5e95
def37da
a12ddce
57a12f4
bfc8d09
30ef82b
b66ba3d
f6d359e
2e90d2c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 339 in src/HeckeTypes.jl
Codecov / codecov/patch
src/HeckeTypes.jl#L339
Check warning on line 351 in src/HeckeTypes.jl
Codecov / codecov/patch
src/HeckeTypes.jl#L351
Check warning on line 372 in src/HeckeTypes.jl
Codecov / codecov/patch
src/HeckeTypes.jl#L372
Check warning on line 82 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L82
Check warning on line 95 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L95
Check warning on line 459 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L459
Check warning on line 482 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L482
Check warning on line 498 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L497-L498
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check warning on line 645 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L642-L645
Check warning on line 653 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L647-L653
Check warning on line 658 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L656-L658
Check warning on line 660 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L660
Check warning on line 687 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L687
Check warning on line 728 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L728
Check warning on line 730 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of duplicating all this code, you could also use
Val
to do something like this:and then in the critical part you can do
But this can also wait for a future cleanup.
Then finally you can do
Check warning on line 750 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L738-L750
Check warning on line 753 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L752-L753
Check warning on line 757 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L755-L757
Check warning on line 759 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L759
Check warning on line 761 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L761
Check warning on line 769 in src/Sparse/Row.jl
Codecov / codecov/patch
src/Sparse/Row.jl#L763-L769