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

add_best_result方法内部再次调用了自己,而没有适当的退出条件,导致了无限递归 #4

Open
wuer7754 opened this issue Sep 28, 2023 · 0 comments

Comments

@wuer7754
Copy link

你好, 大佬, 你的工作非常出色, 有个小小的瑕疵:在modellog.py的第89行,add_best_result方法内部再次调用了自己,而没有适当的退出条件,导致了无限递归。
这是代码设计中的一个明显错误。当递归深度超过Python的默认限制(通常是1000次递归调用)时,就会抛出RecursionError。

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

1 participant