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: gambit-enumpoly infinite loop in quiksolv.imp #198

Closed
tturocy opened this issue Aug 23, 2016 · 1 comment
Closed

BUG: gambit-enumpoly infinite loop in quiksolv.imp #198

tturocy opened this issue Aug 23, 2016 · 1 comment
Assignees
Labels
c++ Items which involve writing in C++
Milestone

Comments

@tturocy
Copy link
Member

tturocy commented Aug 23, 2016

Tobenna Igwe reported an infinite loop in enumpoly on the game below. He's traced it to quiksolv.imp:243. It may or may not give some insight into the issue found in 2x2x2.nfg (see issue #184 ). It also may or may not be something which was introduced relatively recently (and therefore might be fixable).

NFG 1 R "" { "1" "2" "3" }

{ { "1" "2" "3" }
{ "1" "2" "3" }
{ "1" "2" "3" }
}
""

{
{ "" 0.0, 0.0, 0.0 }
{ "" 2.0, 1.0, 1.0 }
{ "" 1.2, 0.6, 0.6 }
{ "" 1.0, 2.0, 1.0 }
{ "" 1.0, 1.0, 2.0 }
{ "" 1.1, 1.5, 1.6 }
{ "" 0.6, 1.2, 0.6 }
{ "" 1.5, 1.1, 1.6 }
{ "" 0.6, 0.6, 1.2 }
{ "" 1.0, 1.0, 2.0 }
{ "" 1.0, 2.0, 1.0 }
{ "" 1.1, 1.6, 1.5 }
{ "" 2.0, 1.0, 1.0 }
{ "" 0.0, 0.0, 0.0 }
{ "" 1.0, 0.5, 0.5 }
{ "" 1.6, 1.1, 1.5 }
{ "" 0.5, 1.0, 0.5 }
{ "" 0.5, 0.5, 1.0 }
{ "" 0.6, 0.6, 1.2 }
{ "" 1.5, 1.6, 1.1 }
{ "" 0.6, 1.2, 0.6 }
{ "" 1.6, 1.5, 1.1 }
{ "" 0.5, 0.5, 1.0 }
{ "" 0.5, 1.0, 0.5 }
{ "" 1.2, 0.6, 0.6 }
{ "" 1.0, 0.5, 0.5 }
{ "" 0.0, 0.0, 0.0 }
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 
@tturocy tturocy added this to the gambit-16.0.3 milestone Jan 25, 2022
@tturocy
Copy link
Member Author

tturocy commented Apr 18, 2023

This also occurs on the full support in the game 2x2x2.nfg in the standard game library.

Unfortunately, this bug has been around so long now that it's present in the oldest version in the repository that still compiles with modern compilers. Given how old this code is, it's going to take some doing figuring out what's going on.

@tturocy tturocy removed this from the gambit-16.0.3 milestone Apr 18, 2023
@tturocy tturocy changed the title gambit-enumpoly infinite loop in quiksolv.imp BUG: gambit-enumpoly infinite loop in quiksolv.imp Aug 2, 2023
@tturocy tturocy added this to the gambit-16.2.0 milestone Nov 3, 2023
@tturocy tturocy added the c++ Items which involve writing in C++ label Feb 1, 2024
@tturocy tturocy self-assigned this Feb 1, 2024
@tturocy tturocy closed this as completed in 6681860 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Items which involve writing in C++
Projects
None yet
Development

No branches or pull requests

1 participant