Skip to content

Commit 040b7d0

Browse files
committed
Fixed compatibility problem with last BP 2.5.0-SNAPSHOT
1 parent 5358e8c commit 040b7d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionDijkstra.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected Float getMinimumDistance() {
9292
}
9393

9494
protected Float getDistance(final Vertex node, final Vertex target) {
95-
final Iterator<Edge> edges = ((OrientVertex) node).getEdges(target, paramDirection).iterator();
95+
final Iterator<Edge> edges = ((OrientVertex) node).getEdges((OrientVertex) target, paramDirection).iterator();
9696
if (edges.hasNext()) {
9797
final Edge e = edges.next();
9898
if (e != null) {

0 commit comments

Comments
 (0)