mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: remove double assignment on mlir converter
This commit is contained in:
@@ -61,7 +61,7 @@ def _add_eint_int(node, preds, ir_to_mlir_node, ctx):
|
||||
def _add_eint_eint(node, preds, ir_to_mlir_node, ctx):
|
||||
"""Convert an addition intermediate node with (eint, int)."""
|
||||
lhs_node, rhs_node = preds
|
||||
lhs, rhs = lhs, rhs = ir_to_mlir_node[lhs_node], ir_to_mlir_node[rhs_node]
|
||||
lhs, rhs = ir_to_mlir_node[lhs_node], ir_to_mlir_node[rhs_node]
|
||||
return hlfhe.AddEintOp(
|
||||
hlfhe.EncryptedIntegerType.get(ctx, node.outputs[0].data_type.bit_width),
|
||||
lhs,
|
||||
|
||||
Reference in New Issue
Block a user