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

mask_mean_dev: addition of a mask in mean API #132

Merged
merged 2 commits into from
Feb 1, 2020

Conversation

jvdp1
Copy link
Member

@jvdp1 jvdp1 commented Jan 29, 2020

  • Addition of mask in the API of mean, as discussed in Addition of a mask to stdlib_experimental_stats function mean #128. NaN returns are based on ieee_arithmetic;
  • Update of the spec;
  • Correction of a small typo/error introduced in a previous PR (an integer array was not converted to real(dp) before doing the sum (were our tests not severe enough for these scenarions?).

@aradi : I can't request you as reviewer (the system doesn't find you). Could you have also a look, please?

@jvdp1 jvdp1 requested review from certik and milancurcic January 29, 2020 20:09
Copy link
Member

@certik certik left a comment

Choose a reason for hiding this comment

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

I think this looks great. Thank you!

@aradi aradi self-requested a review January 30, 2020 08:21
@aradi
Copy link
Member

aradi commented Jan 30, 2020

@jvdp1 Sure. Actually, now it seems to be possible to select me as reviewer. I'll try to have a detailed look at it tomorrow.

Copy link
Member

@aradi aradi left a comment

Choose a reason for hiding this comment

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

I am absolutely fine with the changes.

As a side note: It is horrifying, that in order to introduce the mask, we had to double the already very high number of functions, but I don't see any other possibility. If we provide a lot of generic functions like this, it could get out of hand at some point.

@jvdp1
Copy link
Member Author

jvdp1 commented Feb 1, 2020

Thank you @aradi for the review.

@milancurcic could you have a last look and merge it if you are happy with the proposed changes?

@milancurcic milancurcic merged commit eeb33d7 into fortran-lang:master Feb 1, 2020
@milancurcic
Copy link
Member

Great work, thanks @jvdp1

@jvdp1 jvdp1 deleted the mask_mean_dev branch February 1, 2020 19:33
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.

4 participants