Don't use epsilon when calculating pushout force in dp placer.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16210

(cherry picked from commit ff9d834e31)
This commit is contained in:
Jeff Young 2023-12-03 16:47:41 +00:00
parent dbf5455656
commit af99c9da34
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ bool DIFF_PAIR_PLACER::propagateDpHeadForces ( const VECTOR2I& aP, VECTOR2I& aNe
if( !obs || handled.count( obs->m_item ) )
break;
int clearance = m_currentNode->GetClearance( obs->m_item, &m_currentTrace.PLine() );
int clearance = m_currentNode->GetClearance( obs->m_item, &m_currentTrace.PLine(), false );
if( obs->m_item->Shape()->Collide( virtHead.Shape(), clearance, &force ) )
{

View File

@ -32,7 +32,7 @@ namespace PNS {
bool VIA::PushoutForce( NODE* aNode, const ITEM* aOther, VECTOR2I& aForce )
{
int clearance = aNode->GetClearance( this, aOther );
int clearance = aNode->GetClearance( this, aOther, false );
VECTOR2I elementForces[4], force;
size_t nf = 0;