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

Issue #1536 - [BUG] check_prime.cpp returns incorrect output for 9 #1537

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

codingbbq
Copy link
Contributor

@codingbbq codingbbq commented Jul 18, 2021

Description of Change

Fix for Issue #1536 - [BUG] check_prime.cpp returns incorrect output for 9

Checklist

  • [x ] Added description of change
  • [x ] Added tests and example, test must pass
  • [x ] PR title follows semantic commit guidelines
  • [x ] Search previous suggestions before making a new one, as yours may be a duplicate.
  • [ x] I acknowledge that all my contributions will be made under the project's license.

Notes: Updating the check_prime.cpp. It was giving wrong output for n = 9

@Panquesito7 Panquesito7 mentioned this pull request Jul 21, 2021
8 tasks
@foo290 foo290 mentioned this pull request Jul 22, 2021
8 tasks
@Panquesito7 Panquesito7 added bug bugfix Correction to existing algorithms labels Jul 22, 2021
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 😄

@Panquesito7 Panquesito7 linked an issue Jul 22, 2021 that may be closed by this pull request
@Panquesito7 Panquesito7 merged commit f9a1acd into TheAlgorithms:master Jul 22, 2021
@Panquesito7 Panquesito7 mentioned this pull request Jul 22, 2021
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugfix Correction to existing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] check_prime.cpp returns incorrect output for 9
2 participants