Closed peltorator closed 3 years ago
Here you add g to lazy_add and lazy_update. But here you first apply update and then add. So you'll add g twice. I think you just need to delete lines 171-173
g
lazy_add
lazy_update
update
add
It seems correct with the current implementation because:
pushdown
return
However, anyway, thank you for telling me a possible bug!
Here you add
g
tolazy_add
andlazy_update
. But here you first applyupdate
and thenadd
. So you'll addg
twice. I think you just need to delete lines 171-173