Skip to content

Conversation

@hsanzg
Copy link
Collaborator

@hsanzg hsanzg commented Dec 2, 2025

The internalEvalPolyLinearWithPrecomp method contained an off-by-one error that caused it to throw an exception when the polynomial to evaluate was a linear function. This patch fixes that mistake, and adds a test that evaluates a linear polynomial on a CKKS ciphertext.

Fixes #1096

yspolyakov and others added 6 commits May 21, 2025 12:28
The `internalEvalPolyLinearWithPrecomp` contained an off-by-one error
that caused it to throw an exception when the polynomial to evaluate was
a linear function. This patch fixes that mistake, and adds a test that
evaluates a linear polynomial on a CKKS ciphertext.

Bug discovered and patched at AccelCom, Barcelona Supercomputing Center.
@pascoec pascoec changed the base branch from main to dev December 3, 2025 17:26
@pascoec pascoec changed the base branch from dev to main December 3, 2025 17:27
@pascoec
Copy link
Collaborator

pascoec commented Dec 3, 2025

@hsanzg, please apply your changes to the dev branch and resubmit.

@pascoec pascoec changed the base branch from main to issue1096 December 5, 2025 17:35
@pascoec pascoec merged commit 2834bfe into openfheorg:issue1096 Dec 5, 2025
@hsanzg
Copy link
Collaborator Author

hsanzg commented Dec 5, 2025

Sorry for the delay, I see you've already created a new branch and merge request targeting dev. Thanks!

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

Successfully merging this pull request may close these issues.

Cannot evaluate linear functions using EvalPoly

4 participants