Skip to content

Commit 30b8adb

Browse files
author
Christian Lück
committed
Fix invalid reference to Vertices::getVertexFirst()
1 parent c9cb932 commit 30b8adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TravelingSalesmanProblem/MinimumSpanningTree.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(Graph $inputGraph)
2323

2424
protected function getVertexStart()
2525
{
26-
return $this->graph->getVertices()->VertexFirst();
26+
return $this->graph->getVertices()->getVertexFirst();
2727
}
2828

2929
protected function getGraph()

0 commit comments

Comments
 (0)