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

GA.cpp第40行中有一个0.0作为除数的小bug。 #2

Open
Mr-Zhao-lin opened this issue Apr 21, 2023 · 0 comments
Open

GA.cpp第40行中有一个0.0作为除数的小bug。 #2

Mr-Zhao-lin opened this issue Apr 21, 2023 · 0 comments

Comments

@Mr-Zhao-lin
Copy link

std::pair<std::vector , float> best(std::vector(0.0),-1.0/0.0);
是未定义行为,部分编译器不允许该操作

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