Skip to content

Added const qualifier to CKKSEncoder encode and decode functions#556

Merged
WeiDaiWD merged 1 commit into
microsoft:contribfrom
harichards:main
Dec 7, 2022
Merged

Added const qualifier to CKKSEncoder encode and decode functions#556
WeiDaiWD merged 1 commit into
microsoft:contribfrom
harichards:main

Conversation

@harichards

Copy link
Copy Markdown

Added const qualifier to the following functions:

  • CKKSEncoder::encode
  • CKKSEncoder::encode_internal
  • CKKSEncoder::decode
  • CKKSEncoder::decode_internal

These functions do not actually modify the CKKSEncoder object. Therefore, they should be declared as const.

@ghost

ghost commented Aug 17, 2022

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@WeiDaiWD WeiDaiWD merged commit ff86252 into microsoft:contrib Dec 7, 2022
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.

2 participants