Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing last element of DCRTPoly renders it invalid. #170

Open
Smera1d0 opened this issue Sep 4, 2024 · 0 comments
Open

Removing last element of DCRTPoly renders it invalid. #170

Smera1d0 opened this issue Sep 4, 2024 · 0 comments

Comments

@Smera1d0
Copy link

Smera1d0 commented Sep 4, 2024

We want to change the C version of openFHE of a project to the python version, but the following error occurs:

encIP = cc.EvalMult(encIP,self.dummy) # logp: 2 * wBits + pBits
RuntimeError: /home/liushuo/openfhe-keep/openfhe-development/src/core/include/lattice/hal/default/dcrtpoly-impl.h:l.695:DropLastElement(): DropLastElement: Removing last element of DCRTPoly renders it invalid.

we check the level of encIP and dummy, the C version and the python version of the level are the same.

It seems that something is wrong with this function——encIP = cc.EvalMult(encIP,self.dummy)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant