diff --git a/plonky2x/src/frontend/builder/mod.rs b/plonky2x/src/frontend/builder/mod.rs index d24ca226e..2c9a81a4f 100644 --- a/plonky2x/src/frontend/builder/mod.rs +++ b/plonky2x/src/frontend/builder/mod.rs @@ -168,6 +168,11 @@ impl, const D: usize> CircuitBuilder { V::init(self) } + /// Initializes a variable with a value from the circuit input without any validity checks. + pub fn init_unsafe(&mut self) -> V { + V::init_unsafe(self) + } + /// Initializes a variable with a constant value in the circuit. pub fn constant(&mut self, value: V::ValueType) -> V { V::constant(self, value)