fix chain bug

This commit is contained in:
chhylp123
2021-02-14 12:47:51 -05:00
parent 8855604d99
commit c47a1df4b0
+1 -1
View File
@@ -1539,7 +1539,7 @@ void quick_LIS(asg_arc_t_offset* x, uint32_t n, kvec_t_i32_warp* tailIndex, kvec
i, Get_xOff(x[i].Off), Get_yOff(x[i].Off), pos);
}
/*******************************for debug************************************/
prevIndex->a.a[i] = pos > 1? tailIndex->a.a[pos - 1] : -1;
prevIndex->a.a[i] = pos > 0? tailIndex->a.a[pos - 1] : -1;
tailIndex->a.a[pos] = i;
}
}