Fix length calculations in DP meander placer.

This commit is contained in:
Alex Shvartzkop 2024-02-20 03:59:42 +03:00 committed by dsa-t
parent 29188bdc53
commit 943c5fea59
1 changed files with 2 additions and 0 deletions

View File

@ -324,6 +324,8 @@ bool DP_MEANDER_PLACER::Move( const VECTOR2I& aP, ITEM* aEndItem )
curIndexN = tunedN.NextShape( curIndexN );
}
m_result.AddCorner( tunedP.CPoint( -1 ), tunedN.CPoint( -1 ) );
long long int dpLen = origPathLength();
m_lastStatus = TUNED;