You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#777.
Now `OpTrait` clearly separates `other_port` from `static_port`, and
`OpType` has a uniform interface for `value` ports (from the signature),
`static` ports (contstants), and `other` ports.
Fixes#779. The bug was caused by the encoder ignoring the constant
input port offset, so the decoder reconnected the edge to the
`StateOrder` port instead. Now we use the proper OpType methods.
Fixes#778.
---------
Co-authored-by: Seyon Sivarajah <seyon.sivarajah@quantinuum.com>
The
Call
operation is defined as:hugr/src/ops/dataflow.rs
Lines 133 to 137 in 968c8b0
However, it's dataflow input is just the called function's signature
hugr/src/ops/dataflow.rs
Lines 152 to 154 in 968c8b0
And only after those ports comes the
static_port
with the called function (hard-coded inOpType::other_static_input
.hugr/src/ops.rs
Lines 187 to 194 in 968c8b0
The text was updated successfully, but these errors were encountered: