vesoft-inc / nebula-algorithm

Nebula-Algorithm is a Spark Application based on GraphX, which enables state of art Graph Algorithms to run on top of NebulaGraph and write back results to NebulaGraph.
71 stars 39 forks source link

fix NPE when maxIter=1 for KCore #6

Closed lv88 closed 2 years ago

lv88 commented 3 years ago

调用KCoreAlgo算法时,如果传入maxIter=1,会报空指针异常。设置iterNum初始值为0。另外,ALGORITHM赋值错误,顺便修改。

CLAassistant commented 3 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


lv88 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Nicole00 commented 3 years ago

Hi @lv88 , thanks for your great catch~ could you please sign the CLA?

Nicole00 commented 2 years ago

Hello, are you there?