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

example: game_of_life: remove the second incrementation of generation variable #770

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

jayaseelan-james
Copy link
Contributor

What does this Pull Request accomplish?

Removes the second incrementation of the generation variable.

Why should this Pull Request be merged?

The generation variable is mistakenly incremented twice within the while loop.

What testing has been done?

Kept a breakpoint and verified that the generation value is incremented only once per iteration.

Copy link

Test Results

    30 files  ±0      30 suites  ±0   46m 7s ⏱️ - 3m 51s
   653 tests ±0     653 ✅ ±0      0 💤 ±0  0 ❌ ±0 
16 210 runs  ±0  15 150 ✅ ±0  1 060 💤 ±0  0 ❌ ±0 

Results for commit 8d4ab5c. ± Comparison against base commit 2be3bf5.

@dixonjoel dixonjoel merged commit cc1d188 into main Jun 24, 2024
17 checks passed
@dixonjoel dixonjoel deleted the users/jay/update-gol-example branch June 24, 2024 17:04
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.

2 participants