You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
多谢,改一下
发自我的 iPhone
在 2019年6月7日,18:05,yuanxu <notifications@github.com<mailto:notifications@github.com>> 写道:
p = coor[p->split] <= GetDimVal(p->id, p->split) ? p = p->left : p = p->right;
应该是这样吧: p = coor[p->split] <= GetDimVal(p->id, p->split) ? p->left : p->right;
虽然那么写执行的结果是一样的,但是多了两次赋值,而且阅读代码时会让人感到困惑。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEBW554XPFEB7ATDM5V6STLPZIXHZANCNFSM4HVU56RA>.
p = coor[p->split] <= GetDimVal(p->id, p->split) ? p = p->left : p = p->right;
应该是这样吧: p = coor[p->split] <= GetDimVal(p->id, p->split) ? p->left : p->right;
虽然那么写执行的结果是一样的,但是多了两次赋值,而且阅读代码时会让人感到困惑。
The text was updated successfully, but these errors were encountered: