From 7d7269b26dae9736fd3a69b1719e69e9dc3b0973 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Mon, 26 Sep 2022 16:17:04 -0700 Subject: [PATCH] nit --- plonky2/examples/square_root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plonky2/examples/square_root.rs b/plonky2/examples/square_root.rs index 98ddc4e9..81216905 100644 --- a/plonky2/examples/square_root.rs +++ b/plonky2/examples/square_root.rs @@ -47,7 +47,7 @@ fn main() -> Result<()> { let mut builder = CircuitBuilder::::new(config); let x = builder.add_virtual_target(); - let x_squared = builder.mul(x, x); + let x_squared = builder.square(x); builder.register_public_input(x); builder.register_public_input(x_squared);