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

A bug in cnp.cpp #2

Open
xd15zhn opened this issue Feb 23, 2024 · 0 comments
Open

A bug in cnp.cpp #2

xd15zhn opened this issue Feb 23, 2024 · 0 comments

Comments

@xd15zhn
Copy link

xd15zhn commented Feb 23, 2024

there is a redeclaration for i in two for loops
for (int i=0;i<AGENT_COUNT;i++) in line 111
and
for (int i=0;i<AGENT_COUNT;i++) in line 151,
and the second for loop is nested within the first one.

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