Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于地图管理模块的bug #3

Closed
yuhang9803 opened this issue Oct 9, 2023 · 1 comment
Closed

关于地图管理模块的bug #3

yuhang9803 opened this issue Oct 9, 2023 · 1 comment

Comments

@yuhang9803
Copy link

hello,我最近在按照的你的思路写算法的时候发现您的地图管理模块有一个bug,就是当xyz都要超出边界的时候才会right--,实际上我遇到了x超出边界,yz不超出的情况,这个时候就会一直在外面的while里循环,因为既进不了right--的逻辑也进不了left++的逻辑

@mengkai98
Copy link
Owner

是的,第一个while循环判断点是否在外面应该用“或”逻辑,谢谢你的发现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants