Skip to content

Update linearsearch.py #1

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

Conversation

Nitin-Pilkhwal
Copy link
Contributor

Summary:
This pull request updates the log message in the linear search function to better reflect the search being performed. The original message mentioned binary search, but the function is actually performing a linear search. This could be confusing for future developers working with the code.

Changes Made:

  • Updated the log message in the binary search function from "An error occurred during binary search" to "An error occurred during linear search".

Testing:
Tested the code locally and verified that the new log message is being displayed correctly.

Related Issue:
None.

@Shikha-code36
Copy link
Owner

Thankyou for pointing it out Nikhil

@Shikha-code36 Shikha-code36 merged commit 76fc83c into Shikha-code36:main Mar 7, 2023
@Nitin-Pilkhwal
Copy link
Contributor Author

Nitin-Pilkhwal commented Mar 7, 2023 via email

@Nitin-Pilkhwal Nitin-Pilkhwal deleted the enhancement/comment-improvement branch March 7, 2023 19:28
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