jheaps icon indicating copy to clipboard operation
jheaps copied to clipboard

fix: fix decrease key methods in Fibonacci heap

Open bingo-soft opened this issue 5 years ago • 0 comments

The above pull request fixes possible issue in two descrease methods in Fibonacci heap. The idea is that there is no sense in changing node's key to a new one, if the keys are equal or if the node is invalid.

bingo-soft avatar Nov 17 '19 08:11 bingo-soft