Skip to content

Commit

Permalink
Disable composite scaling set methods for non-CKKS schemes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiasmor committed Jan 10, 2025
1 parent a5a443a commit b14472d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ class CCParams<CryptoContextBFVRNS> : public Params {
void SetInteractiveBootCompressionLevel(COMPRESSION_LEVEL interactiveBootCompressionLevel0) override {
DISABLED_FOR_BFVRNS;
}
void SetCompositeDegree(uint32_t compositeDegree0) override {
DISABLED_FOR_BFVRNS;
}
void SetRegisterWordSize(uint32_t registerWordSize0) override {
DISABLED_FOR_BFVRNS;
}
};
//====================================================================================================================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ class CCParams<CryptoContextBGVRNS> : public Params {
void SetInteractiveBootCompressionLevel(COMPRESSION_LEVEL interactiveBootCompressionLevel0) override {
DISABLED_FOR_BGVRNS;
}
void SetCompositeDegree(uint32_t compositeDegree0) override {
DISABLED_FOR_BGVRNS;
}
void SetRegisterWordSize(uint32_t registerWordSize0) override {
DISABLED_FOR_BGVRNS;
}
};
//====================================================================================================================

Expand Down

0 comments on commit b14472d

Please sign in to comment.