mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-13 06:48:02 -05:00
1.2 KiB
1.2 KiB
module concrete.fhe.internal.utils
Declaration of various functions and constants related to the entire project.
function assert_that
assert_that(condition: bool, message: str = '')
Assert a condition.
Args: condition (bool): condition to assert
message (str): message to give to AssertionError if the condition does not hold
Raises: AssertionError: if the condition does not hold
function unreachable
unreachable()
Raise a RuntimeError to indicate unreachable code is entered.