Repository navigation
Conversation
Codecov Report
@@ Coverage Diff @@
## master #564 +/- ##
==========================================
- Coverage 87.82% 87.78% -0.05%
==========================================
Files 32 32
Lines 2087 2088 +1
==========================================
Hits 1833 1833
- Misses 254 255 +1
Continue to review full report at Codecov.
|
|
@dillondaudert can you review? |
|
Hi, thanks for the PR. Could you clarify with examples what exactly this change allows? You'll also want to make sure that all the heaps (including the MinMax heap) follow the same API and have unit tests to cover any changed functionality. |
|
@hiemstar It appears to me that what this PR does is allows you to instantiate a |
|
The change proposed here is merged with PR #673. |
Modified internal constructor of BinaryHeap:
to
This makes it possible to heapify an array based on data not stored in the array itself.