@@ -1495,7 +1495,9 @@ def merge_density_control(
continue
# 开始插入
tmp = copy.deepcopy(data[index])
+ d["density_up"] = i
data[index] = d
+ tmp["density_down"] = index
candidate[i] = tmp
# 更新状态
for tag in tags: