From ce6638f8c12685a221fe17c0dc3babffef443dc3 Mon Sep 17 00:00:00 2001 From: Alan Lawrence Date: Tue, 25 Jun 2024 19:09:58 +0100 Subject: [PATCH] benches --- hugr/benches/benchmarks/hugr.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hugr/benches/benchmarks/hugr.rs b/hugr/benches/benchmarks/hugr.rs index b01d72e25..eb7fe60de 100644 --- a/hugr/benches/benchmarks/hugr.rs +++ b/hugr/benches/benchmarks/hugr.rs @@ -3,7 +3,6 @@ use criterion::{black_box, criterion_group, AxisScale, Criterion, PlotConfiguration}; use hugr::builder::{BuildError, CFGBuilder, DFGBuilder, Dataflow, DataflowHugr, HugrBuilder}; use hugr::extension::prelude::{BOOL_T, USIZE_T}; -use hugr::extension::ExtensionSet; use hugr::types::FunctionType; use hugr::{type_row, Hugr}; @@ -18,8 +17,7 @@ pub fn simple_cfg_builder + AsRef>( cfg_builder: &mut CFGBuilder, ) -> Result<(), BuildError> { let sum2_variants = vec![type_row![USIZE_T], type_row![USIZE_T]]; - let mut entry_b = - cfg_builder.entry_builder(sum2_variants.clone(), type_row![], ExtensionSet::new())?; + let mut entry_b = cfg_builder.entry_builder(sum2_variants.clone(), type_row![])?; let entry = { let [inw] = entry_b.input_wires_arr();