I’m wondering if the Compress method supports BFVRNS? I called the Compress method on a BFV-encrypted ciphertext, but it throws openfhe-development/src/pke/include/schemerns/rns-leveledshe.h:316 ModReduceInternalInPlace is not supported for this scheme.
I just looked at the code. It is true that Compress is not currently supported for BFVrns, but there is no reason why we should not support it for the scenario when all computations are completed and the ciphertext needs to be compressed before being sent to the party that can decrypt it. I will create an issue for this.