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.
Tree
Fixes --- likely a spurious --- warning in
tree.cpp
:Also use
iota
to generate contiguous indices.Tests
test_simd.cpp
GCC doesn't acknowledge that
simd v[i] = x
for alli = 0 ... len(v)
initializesv
. Force initialization to zero.test_network_generation.cpp
Compare across signs
test_distributed_for_each.cpp
Compare across signs; resolve by casting to correct type.
test_range.cpp
GCC really turns the dial up to 11 here, complaining about oob access in
Same happens with
std::sort(str, str + strlen(str))
, so I am pretty sure this is not a real thing.For reference:
I am still going to 'fix' this, since I am for warning free code and don't want to annotate with a pragma.
General
Remove spurious includes.