From b20a62821ec22c5c83eab599635160872e3dc0a2 Mon Sep 17 00:00:00 2001 From: jfrery Date: Mon, 25 Nov 2024 14:42:38 +0100 Subject: [PATCH] chore: fix last coverage line --- src/concrete/ml/quantization/linear_op_glwe_backend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/concrete/ml/quantization/linear_op_glwe_backend.py b/src/concrete/ml/quantization/linear_op_glwe_backend.py index bcba247de..66604928b 100644 --- a/src/concrete/ml/quantization/linear_op_glwe_backend.py +++ b/src/concrete/ml/quantization/linear_op_glwe_backend.py @@ -29,8 +29,7 @@ def __init__( private_key=None, compression_key=None, ): - if not has_glwe_backend(): - raise RuntimeError("GLWE backend not installed") + assert has_glwe_backend(), "GLWE backend not installed" import concrete_ml_extensions as fhext