Commit 40f49b9e authored by Robert Ricci's avatar Robert Ricci

Fix for fixed nodes - if point endpoints of a link are fixed, we

never unmap the link, so make sure we don't try to map it a second
time.
parent 9b18dba6
......@@ -1247,6 +1247,11 @@ NOTQUITEDONE:
// don't have both endpoints assigned.
continue;
}
if (dst_vnode->fixed && src_vnode->fixed) {
// If both endpoints were fixed, this link never got
// unmapped, so don't map it again
continue;
}
tb_pnode *src_pnode = get(pvertex_pmap,src_vnode->assignment);
tb_pnode *dst_pnode = get(pvertex_pmap,dst_vnode->assignment);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment