Skip to content

修复在Fedora上断言失败的问题#3

Open
cyanlink wants to merge 8 commits intoHaloOrangeWang:masterfrom
cyanlink:master
Open

修复在Fedora上断言失败的问题#3
cyanlink wants to merge 8 commits intoHaloOrangeWang:masterfrom
cyanlink:master

Conversation

@cyanlink
Copy link
Copy Markdown

@cyanlink cyanlink commented Jun 8, 2020

问题出在ai.cpp文件的GetFinalRes函数上,访问数组下标-1是未定义行为且会导致检测越界用的断言失败

@cyanlink
Copy link
Copy Markdown
Author

尝试修复CPP版本AI有时结果不正确的问题(我认为是溢出,且改为uint64后的确出问题几率变小,但仍未真正定位问题)

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

Successfully merging this pull request may close these issues.

1 participant