From 358fea7aaa9c3440f0c354d8bdeb68597ea1a7bf Mon Sep 17 00:00:00 2001 From: Anqi Date: Thu, 5 Jan 2023 10:21:47 +0800 Subject: [PATCH] fix data struct --- .../scala/com/vesoft/nebula/algorithm/lib/Node2vecAlgo.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/lib/Node2vecAlgo.scala b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/lib/Node2vecAlgo.scala index 989467b..36356c4 100644 --- a/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/lib/Node2vecAlgo.scala +++ b/nebula-algorithm/src/main/scala/com/vesoft/nebula/algorithm/lib/Node2vecAlgo.scala @@ -219,7 +219,7 @@ object Node2vecAlgo { pathBuffer.append(nextNodeId) (srcNodeId, pathBuffer) } else { - pathBuffer + (srcNodeId, pathBuffer) } } catch { case e: Exception => throw new RuntimeException(e.getMessage)