Skip to content

Commit

Permalink
Use new_endo
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed Mar 8, 2024
1 parent 4cbbb98 commit e9f77a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantinuum-hugr/src/builder/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ mod test {
#[test]
fn circuit_builder_errors() {
let _build_res = build_main(
FunctionType::new(type_row![QB, QB], type_row![QB, QB]).into(),
FunctionType::new_endo(type_row![QB, QB]).into(),
|mut f_build| {
let mut circ = f_build.as_circuit(f_build.input_wires());
let [q0, q1] = circ.tracked_units_arr();
Expand Down

0 comments on commit e9f77a9

Please sign in to comment.