optimization

This commit is contained in:
lgbo-ustc 2021-12-27 20:33:25 +08:00 committed by liangjiabiao
parent f86e3ef1ae
commit 922dd40c05

View File

@ -372,7 +372,7 @@ private:
}
cell.value = mapped;
cell.size = cell.value ? weight_function(*cell.value) : 0;
cell.size = value_weight;
current_size += cell.size;
return true;