diff --git a/src/backends/r1cs/mod.rs b/src/backends/r1cs/mod.rs index d7b9efeb6..e7e596c3c 100644 --- a/src/backends/r1cs/mod.rs +++ b/src/backends/r1cs/mod.rs @@ -94,25 +94,6 @@ where } } - /// Create a linear combination to represent constant zero. - fn zero(span: Span) -> Self { - LinearCombination { - terms: HashMap::new(), - constant: F::zero(), - span, - } - } - - /// Create a linear combination from a list of vars - fn from_vars(vars: Vec, span: Span) -> Self { - let terms = vars.into_iter().map(|var| (var, F::one())).collect(); - LinearCombination { - terms, - constant: F::zero(), - span, - } - } - /// Create a linear combination from a constant. fn from_const(cst: F, span: Span) -> Self { LinearCombination {