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
A graph consisting of exactly one node is always convex so we should instead if nodes.len() <= 1. Convexity checking is expensive, so this optimisation does seem worthwhile. Ref CQCL/hugr#1652
The text was updated successfully, but these errors were encountered:
in
is_node_convex
we currently haveA graph consisting of exactly one node is always convex so we should instead
if nodes.len() <= 1
. Convexity checking is expensive, so this optimisation does seem worthwhile. Ref CQCL/hugr#1652The text was updated successfully, but these errors were encountered: