jheaps
jheaps copied to clipboard
fix: fix decrease key methods in Fibonacci heap
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.