Skip to content

Conversation

@rdlugosz
Copy link

Recent versions of ActiveSupport and Ruby 2.4.1 have added a #sum method
to the Enumerable class. Their implementation also accepts a block,
which the version included with StatSample does not.

This change tests to see if Array#sum is already defined before
patching.

This fixes issue #58 #58

Recent versions of ActiveSupport and Ruby 2.4.1 have added a #sum method
to the Enumerable class. Their implementation also accepts a block,
which the version included with StatSample does not.

This change tests to see if Array#sum is already defined before
patching.

This fixes issue #58 #58
@chooselife22
Copy link

Any progress on this?

@v0dro v0dro merged commit fd9a88d into SciRuby:master Oct 2, 2017
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.

3 participants