Skip to content

Removing last element of DCRTPoly renders it invalid. #170

@Smera1d0

Description

@Smera1d0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions