New method to remove gradient

If the Gradient value is randomly generated, it cannot be deleted by removeGradient under the condition of infinite non recurring decimals. It is recommended to add subscript deletion items.

1 Like

cc @carolhmj

@brightMoon Do you have a repro?

I didn’t, just a suggestion

Can you share this playground?

I thought there would be a problem with non integer division. Now it seems that there is no problem