Revert "Dijkstra.cpp fix"

This reverts commit 37982f82d87e472f734d49ab4eb7a1c23a53a1ef.