Skip to content

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