fix bug for first commit

This commit is contained in:
zy 2022-09-17 10:58:43 +08:00
parent b4f2df7930
commit 060cac25af
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ def factor_extractor(function_id_1: int, function_id_2: int, mysqlOp: MySQLOpera
parent_ids.append(parent.get("parent_id"))
related_methods = []
related_method_id = []
if parents is None:
if parents == ():
co_change = 0
consistant_change = 0
else: