mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
fix(compiler): Force same signedness of integers in _verifyGLWEIntegerOperator
This commit is contained in:
committed by
Quentin Bourgerie
parent
d83a462e20
commit
ce9d86014d
@@ -42,7 +42,7 @@ mlir::LogicalResult _verifyGLWEIntegerOperator(mlir::OpState &op,
|
||||
}
|
||||
|
||||
// verify consistency of width of inputs
|
||||
if (b.getWidth() > a.getP() + 1) {
|
||||
if ((int)b.getWidth() > a.getP() + 1) {
|
||||
op.emitOpError()
|
||||
<< "should have the width of `b` equals or less than 'p'+1: "
|
||||
<< b.getWidth() << " <= " << a.getP() << "+ 1";
|
||||
|
||||
Reference in New Issue
Block a user