Fix A* function on multiple executions
Resolves:
@@ -36,7 +36,7 @@ public class OGraphFunctionFactory implements OSQLFunctionFactory {
static {
register(OSQLFunctionGremlin.NAME, OSQLFunctionGremlin.class);
register(OSQLFunctionDijkstra.NAME, new OSQLFunctionDijkstra());
- register(OSQLFunctionAstar.NAME, new OSQLFunctionAstar());
+ register(OSQLFunctionAstar.NAME, OSQLFunctionAstar.class);
register(OSQLFunctionShortestPath.NAME, new OSQLFunctionShortestPath());
register(OSQLFunctionLabel.NAME, new OSQLFunctionLabel());
