Skip to content

Conversation

@Permanence-AI-Coder
Copy link

The changes in this PR were automatically generated by the Permanence AI Coder and reviewed by @eelenberg and @jweese. The multiplication of three int32_t values could overflow before being converted to LWEPlaintext (which is int64_t). To avoid the potential overflow, all operands are cast to int64_t before performing the multiplication. Note use of ConvertToInt<int64_t>.

on-behalf-of: @permanence-ai [email protected]

The changes in this PR were automatically generated by the Permanence AI
Coder and reviewed by @eelenberg and @jweese. The multiplication of three
`int32_t` values could overflow before being converted to `LWEPlaintext`
(which is `int64_t`). To avoid the potential overflow, all operands are
cast to `int64_t` before performing the multiplication. Note use of
`ConvertToInt<int64_t>`.

on-behalf-of: @permanence-ai [email protected]
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.

1 participant