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

Correction of the gcd() and lcm() of Array #1

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

cyanescent
Copy link
Owner

The init argument in the reduce() function was incorrect. It is sufficient to initialize with any value in the Array.
I have also added examples in the doc string, but I don't know if I did it the right way.

The init argument in the reduce() function was incorrect. It is sufficient to initialize with any value in the Array.
@cyanescent cyanescent marked this pull request as ready for review October 11, 2024 16:04
@cyanescent cyanescent merged commit 0547eae into master Oct 11, 2024
@cyanescent cyanescent deleted the patch-Array-lcm-gcd branch October 11, 2024 16: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.

1 participant