From f9e7aa4f9cbbea7800975b1f2951a4e7a9451aba Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 12 Feb 2025 21:14:34 +0100 Subject: [PATCH] Make `Translate` show up in operations tree --- experiments/2024-12-09/src/topology/sweep.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/experiments/2024-12-09/src/topology/sweep.rs b/experiments/2024-12-09/src/topology/sweep.rs index a42d41cb3..bf73759f4 100644 --- a/experiments/2024-12-09/src/topology/sweep.rs +++ b/experiments/2024-12-09/src/topology/sweep.rs @@ -28,9 +28,9 @@ pub trait SweepExt { impl SweepExt for Handle { fn sweep(self, path: impl Into>) -> Sweep { let bottom = self; - let top = bottom.flip().translate(path); + let top = Handle::new(bottom.flip().translate(path)); - let output = top.output.connect(bottom); + let output = top.connect(bottom); Sweep { output: Handle::new(output), }