[Ring element] Assgin zero without clear the vector
Closed this issue · 1 comments
jscode017 commented
Hi @mkskeller
May I ask how I can assign zero to a ring element without clearing it up?
Since in
Line 59 in 20dfe63
It clear the vector
Is there any way to do it as assign_one:
Line 65 in 20dfe63
Or does running .allocate() will initialize it to all zeros?
Thanks in advance
mkskeller commented
Calling allocate()
when empty should do the trick indeed.