trackgen: don't access node[-1]
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8526 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: edd61ec73a24c495db4121459cc1d8edc3385745 Former-commit-id: cf7bbb6eb10dbafd05d9571220622176543abe5b
This commit is contained in:
parent
e8d7725eb5
commit
d4ebfaf6c5
1 changed files with 1 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ void relax()
|
|||
{
|
||||
for (s = 0; s < Ns; s++)
|
||||
{
|
||||
if (side[s].mark == 0)
|
||||
if (side[s].mark == 0 && !(side[s].a == OFF || side[s].b == OFF || side[s].c == OFF || side[s].d == OFF))
|
||||
{
|
||||
if ((node[side[s].a].mark == 0) && (node[side[s].b].mark == 0) && (node[side[s].c].mark == 0) &&
|
||||
(node[side[s].d].mark == 0))
|
||||
|
|
Loading…
Reference in a new issue