mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
Some of the TFHE to Concrete conversion patterns implicitly assume that operands are ciphertexts and thus that the converted types have a higher number of dimensions than the original types. However, for non-ciphertext types, the number of dimensions before and after the conversion must be the same. This commit adds a check to the respective conversion patterns triggering a simple type conversion that preserves the number of dimensions for non-ciphertext types.