diff --git a/Cargo.toml b/Cargo.toml index 80a546a0..f8fcdf12 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ missing_docs = "warn" [workspace.dependencies] tket2 = { path = "./tket2" } -quantinuum-hugr = { git = "https://github.com/CQCL/hugr", rev = "25d03aa" } +quantinuum-hugr = { version = "0.1" } portgraph = { version = "0.11" } pyo3 = { version = "0.20" } itertools = { version = "0.12.0" } diff --git a/tket2/src/circuit.rs b/tket2/src/circuit.rs index f2e8fd7b..339f48c9 100644 --- a/tket2/src/circuit.rs +++ b/tket2/src/circuit.rs @@ -49,8 +49,6 @@ pub trait Circuit: HugrView { fn circuit_signature(&self) -> FunctionType { self.get_function_type() .expect("Circuit has no function type") - .body() - .clone() } /// Returns the input node to the circuit.