mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Remove PBQP-cost dimension sanity assertion in PBQP::Graph::addConstructedEdge.
We're already effectively checking sanity for that in PBQP::Graph::addEdge. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b397453155
commit
2ca8b98cdb
@ -212,13 +212,6 @@ namespace PBQP {
|
||||
}
|
||||
|
||||
EdgeEntry &NE = getEdge(EId);
|
||||
NodeEntry &N1 = getNode(NE.getN1Id());
|
||||
NodeEntry &N2 = getNode(NE.getN2Id());
|
||||
|
||||
// Sanity check on matrix dimensions:
|
||||
assert((N1.Costs->getLength() == NE.Costs->getRows()) &&
|
||||
(N2.Costs->getLength() == NE.Costs->getCols()) &&
|
||||
"Edge cost dimensions do not match node costs dimensions.");
|
||||
|
||||
// Add the edge to the adjacency sets of its nodes.
|
||||
NE.connect(*this, EId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user